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

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
Analog Comparator
These functions sets up the analog comparator module. Only available in some devices.
setup_comparator(mode)
Relevant Preprocessor:
None
Relevant Interrupts:
INT_COMP
Relevant Include Files:
Relevant getenv() parameters:
COMP
Example Code:
setup_comparator(A4_A5_NC_NC);
if(C1OUT)
output_low(PIN_D0);
else
output_high(PIN_D1);
56
Relevant Functions:
Enables and sets the analog comparator module. The
options vary depending on the chip, please refer to the
header file for details.
Interrupt fires on comparator detect. Some chips have more
than one comparator unit, and hence more interrupts.
None, all functions built-in
Returns 1 if the device has comparator

Related parts for PCWHD IDE COMPILER