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

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:
setup_low_volt_detect( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires
Examples:
setup_low_volt_detect(mode)
mode may be one of the constants defined in the devices .h file. LVD_LVDIN,
LVD_45, LVD_42, LVD_40, LVD_38, LVD_36, LVD_35, LVD_33, LVD_30, LVD_28,
LVD_27, LVD_25, LVD_23, LVD_21, LVD_19
One of the following may be or’ed(via |) with the above if high voltage detect is also
available in the device
LVD_TRIGGER_BELOW, LVD_TRIGGER_ABOVE
undefined
This function controls the high/low voltage detect module in the device. The mode
constants specifies the voltage trip point and a direction of change from that point
(available only if high voltage detect module is included in the device). If the device
experiences a change past the trip point in the specified direction the interrupt flag is set
and if the interrupt is enabled the execution branches to the interrupt service routine.
This function is only available with devices that have the high/low voltage detect module.
Constants are defined in the devices.h file.
setup_low_volt_detect( LVD_TRIGGER_BELOW | LVD_36 );
This would trigger the interrupt when the voltage is below 3.6 volts
setup_high_speed_adc_pair(0, INDIVIDUAL_SOFTWARE_TRIGGER);
setup_high_speed_adc_pair(1, GLOBAL_SOFTWARE_TRIGGER);
setup_high_speed_adc_pair(2, 0) – sets AN4 and AN5 as digital
pins.
None
setup_high_speed_adc(), read_high_speed_adc(),
high_speed_adc_done()
271

Related parts for PCDIDE COMPILER