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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
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 PCWHD IDE COMPILER