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

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:
shift_right( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
byte buffer[3];
for(i=0; i<=24; ++i){
}
// reads 24 bits from pin A3,each bit is read
// on a low to high on pin A2
ex_extee.c,
shift_right(), rotate_right(), rotate_left(),
shift_right (address, bytes, value)
address is a pointer to memory, bytes is a count of the number of bytes to work
with, value is a 0 to 1 to be shifted in.
0 or 1 for the bit shifted out
Shifts a bit into an array or structure. The address may be an array identifier or an address
to a structure (such as &data). Bit 0 of the lowest byte in RAM is treated as the LSB.
All devices
Nothing
// reads 16 bits from pin A1, each bit is read
// on a low to high on pin A2
struct {
for(i=0; i<=16; ++i) {
// This shifts 8 bits out PIN_A0, LSB first.
for(i=0;i<8;++i)
ex_extee.c,
shift_left(), rotate_right(), rotate_left(),
// Wait for clock high
while (!input(PIN_A2));
shift_left(buffer,3,input(PIN_A3));
// Wait for clock low
while (input(PIN_A2));
byte time;
byte command : 4;
byte source
while(!input(PIN_A2));
shift_right(&msg,3,input(PIN_A1));
while (input(PIN_A2)) ;}
output_bit(PIN_A0,shift_right(&data,1,0));
9356.c
9356.c
: 4;} msg;
285

Related parts for PCDIDE COMPILER