PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 159

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
Purpose:
This directive tells the compiler the baud rate and pins used for serial I/O. This
directive takes effect until another RS232 directive is encountered. The #USE
DELAY directive must appear before this directive can be used. This directive
enables use of built-in functions such as GETC, PUTC, and PRINTF. The
functions created with this directive are exported when using multiple compilation
units. To access the correct function use the stream identifier.
When using parts with built-in UART and the UART pins are specified, the SCI will
be used. If a baud rate cannot be achieved within 3% of the desired value using
LONG_DATA
DISABLE_INTS
STOP=X
TIMEOUT=X
SYNC_SLAVE
SYNC_MASTER
SYNC_MATER_CONT
UART1
UART1A
UART2
UART2A
Makes getc() return an int16 and putc accept an
int16. This is for 9 bit data formats.
Will cause interrupts to be disabled when the routines
get or put a character. This prevents character
distortion for software implemented I/O and prevents
interaction between I/O in interrupt handlers and the
main program when using the UART.
To set the number of stop bits (default is 1). This works for
both UART and non-UART ports.
To set the time getc() waits for a byte in
milliseconds. If no character comes in within this
time the RS232_ERRORS is set to 0 as well as the
return value form getc(). This works for both UART
and non-UART ports.
Makes the RS232 line a synchronous slave, making
the receive pin a clock in, and the data pin the data
in/out.
Makes the RS232 line a synchronous master,
making the receive pin a clock out, and the data pin
the data in/out.
Makes the RS232 line a synchronous master mode
in continuous receive mode. The receive pin is set
as a clock out, and the data pin is set as the data
in/out.
Sets the XMIT= and RCV= to the chips first
hardware UART.
Uses alternate UART pins
Sets the XMIT= and RCV= to the chips second
hardware UART.
Uses alternate UART pins
145

Related parts for PCDIDE COMPILER