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

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
Examples:
Example Files:
Also See:
#USE RS232
Syntax:
Elements:
#USE RS232 (options)
Options are separated by commas and may be:
only be used with the built-in SSP. The functions created with this directive are
exported when using multiple compilation units. To access the correct function
use the stream identifier.
#use I2C(master, sda=PIN_B0, scl=PIN_B1)
#use I2C(slave,sda=PIN_C4,scl=PIN_C3
#use I2C(master, scl=PIN_B0, sda=PIN_B1, fast=450000)
//sets the target speed to 450 KBSP
ex_extee.c
i2c_poll, i2c_speed, i2c_start, i2c_stop, i2c_slaveaddr, i2c_isr_state,
i
STREAM=id
BAUD=x
XMIT=pin
RCV=pin
FORCE_SW
2
c_read,
I2C Overview
with
16c74.h
address=0xa0,FORCE_HW)
Associates a stream identifier with this RS232 port.
The identifier may then be used in functions like
fputc.
Set baud rate to x
NOINIT option:
Use baud=0 to not init the UART and pins C6 and
C7 can still be used for input-output functions.
#USE RS232(baud=0,options)
To make printf work with NOINIT option, use:
setup_uart(9600);
Set transmit pin
Set receive pin
Will generate software serial I/O routines even when
the UART pins are specified.
i
2
c_write,
143

Related parts for PCDIDE COMPILER