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

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
Relevant getenv() parameters:
None
Example Code:
int16 Value;
setup_qei(QEI_MODE_X2 |
QEI_TIMER_INTERNAL,
QEI_FILTER_DIV_2,QEI_FORWARD);
Value = qei_get_count( );
RS232 I/O
These functions and directives can be used for setting up and using RS232 I/O functionality.
Relevant Functions:
getc()
getchar() or fgetc()
gets()
putc()
fputc()
puts()
printf()
kbhit()
setup_uart(baud,[stream])
or
setup_uart_speed(baud,[stream])
80
or
or fgets()
or putchar() or
or fputs()
or fprintf()
getch()
Gets a character on the receive pin(from the specified stream
in case of fgetc, stdin by default). Use KBHIT to check if the
character is available.
Gets a string on the receive pin(from the specified stream in
case of fgets, STDIN by default). Use getc to receive each
character until return is encountered.
Puts a character over the transmit pin(on the specified stream
in the case of fputc, stdout by default)
Puts a string over the transmit pin(on the specified stream in the
case of fputc, stdout by default). Uses putc to send each character.
Prints the formatted string(on the specified stream in the case
of fprintf, stdout by default). Refer to the printf help for details
on format string.
Return true when a character is received in the buffer in case of
hardware RS232 or when the first bit is sent on the RCV pin in
case of software RS232. Useful for polling without waiting in getc.
Used to change the baud rate of the hardware UART at run-
time. Specifying stream is optional. Refer to the help for more
advanced options.
Setup the QEI module
Read the count.

Related parts for PCDIDE COMPILER