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

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
FUNCTIONAL OVERVIEWS
I2C
I2C™ is a popular two-wire communication protocol developed by Phillips. Many PIC
microcontrollers support hardware-based I2C™. CCS offers support for the hardware-based I2C™
and a software-based master I2C™ device. (For more information on the hardware-based I2C
module, please consult the datasheet for you target device; not all PICs support I2C™.)
Relevant Functions:
i2c_start()
i2c_write(data)
i2c_read()
i2c_stop()
i2c_poll()
Relevant Preprocessor:
#USE I2C
Relevant Interrupts:
#INT_SSP
#INT_BUSCOL
#INT_I2C
#INT_BUSCOL2
#INT_SSP2
#INT_mi2c
#INT_si2c
Relevant Include Files:
None, all functions built-in
Relevant getenv() Parameters:
I2C_SLAVE
I2C_MASTER
Issues a start command when in the I2C master
mode.
Sends a single byte over the I2C interface.
Reads a byte over the I2C interface.
Issues a stop command when in the I2C master
mode.
Returns a TRUE if the hardware has received a byte
in the buffer.
Configures the compiler to support I2C™ to your
specifications.
I2C or SPI activity
Bus Collision
I2C Interrupt (Only on 14000)
Bus Collision (Only supported on some PIC18's)
I2C or SPI activity (Only supported on some PIC18's)
Interrupts on activity from the master I2C module
Interrupts on activity form the slave I2C module
Returns a 1 if the device has I2C slave H/W
Returns a 1 if the device has a I2C master H/W
53

Related parts for PCDIDE COMPILER