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

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:
Also See:
delay_cycles( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
170
int i = 0;
setup_dac(DAC_VDD | DAC_OUTPUT);
while(1){
}
int i = 0;
setup_dac(DAC_RIGHT_ON, 5);
while(1){
}
setup_dac(
delay_cycles (count)
count - a constant 1-255
undefined
Creates code to perform a delay of the specified number of instruction clocks (1-
255). An instruction clock is equal to four oscillator clocks.
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
Nothing
delay_cycles( 1 ); // Same as a NOP
delay_cycles(25); // At 20 mhz a 5us delay
ex_cust.c
delay_us(),
i++;
dac_write(i);
i++;
dac_write(DAC_RIGHT | i);
),
delay_ms()
DAC
Overview, see header file for device selected

Related parts for PCDIDE COMPILER