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

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
i2c_speed( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
input( )
Syntax:
Parameters:
Returns:
Function:
value = input (pin)
Pin to read. Pins are defined in the devices .h file. The actual value is a bit
address. For example, port a (byte 0x2C2 ) bit 3 would have a value of 0x2C2*8+3
or 5651 . This is defined as follows: #define PIN_A3 5651 .
The PIN could also be a variable. The variable must have a value equal to one of
the constants (like PIN_A1) to work properly. The tristate register is updated
unless the FAST_I0 mode is set on port A. note that doing I/0 with a variable
instead of a constant will take much longer time.
0 (or FALSE) if the pin is low,
1 (or TRUE) if the pin is high
This function returns the state of the indicated pin. The method of I/O is dependent
on the last USE *_IO directive. By default with standard I/O before the input is
done the data direction is set to input.
i
i
baud is the number of bits per second.
stream - specify the stream defined in #USE I
Nothing.
This function changes the I2c bit rate at run time. This only works if the hardware
I2C module is being used.
All devices.
#USE I2C
I2C_Speed (400000);
none
i2c_poll, i2c_start, i2c_stop, i2c_slaveaddr, i2c_isr_state,
#USE
2
2
c_speed (baud)
c_speed (stream, baud)
I2C,
I2C Overview
2
C
i
2
c_write,
i
2
c_read,
199

Related parts for PCDIDE COMPILER