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

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
Availability:
Requires:
Examples:
Example Files:
Also See:
delay_ms( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
174
delay_ms (time)
time - a variable 0-65535(int16) or a constant 0-65535
Note: Previous compiler versions ignored the upper byte of an int16, now the
upper byte affects the time.
undefined
This function will create code to perform a delay of the specified length. Time is
specified in milliseconds. This function works by executing a precise number of
instructions to cause the requested delay. It does not use any timers. If
interrupts are enabled the time spent in an interrupt routine is not counted
toward the time.
The delay time may be longer than requested if an interrupt is serviced during
the delay. The time spent in the ISR does not count toward the delay time.
All devices
#USE DELAY
#use delay (clock=20000000)
delay_ms( 2 );
void delay_seconds(int n) {
}
ex_sqw.c
delay_us(), delay_cycles(),
Only available on devices with DCI
None
while(1)
{
}
None
DCI
dci_data_received( )
for (;n!=0; n- -)
delay_ms( 1000 );
dci_read(&left_channel, &right_channel);
dci_write(&left_channel, &right_channel);
Overview,
setup_dci(
#USE DELAY
),
dci_start(
),
dci_read(
),
dci_transmit_ready(
),

Related parts for PCWHD IDE COMPILER