Microchip Technology MA330019-2 Data Sheet

Page of 436
© 2007-2012 Microchip Technology Inc.
DS70292G-page 283
dsPIC33FJ32GP302/304, dsPIC33FJ64GPX02/X04, AND dsPIC33FJ128GPX02/X04
23.0 COMPARATOR MODULE
The Comparator module provides a set of dual input
comparators. The inputs to the comparator can be con-
figured to use any one of the four pin inputs (C1IN+,
C1IN-, C2IN+ and C2IN-) as well as the Comparator
Voltage Reference Input (CV
REF
).
FIGURE 23-1:
COMPARATOR I/O OPERATING MODES
Note 1: This data sheet summarizes the features
of the dsPIC33FJ32GP302/304,
dsPIC33FJ64GPX02/X04, and
dsPIC33FJ128GPX02/X04 families of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 34.
“Comparator”
 (DS70212) of the
dsPIC33F/PIC24H Family Reference
Manual
”, which is available from the
Microchip website (
www.microchip.com
).
2: Some registers and associated bits
described in this section may not be avail-
able on all devices. Refer to 
 in this data
sheet for device-specific register and bit
information.
Note:
This peripheral contains output func-
tions that may need to be configured by
the peripheral pin select feature. For
more information, see 
C2
C2IN-
V
IN
-
V
IN
+
C2IN+
CV
REF
C2IN+
C2OUT
(1)
C2OUT (CMCON<7>)
C1
C1IN-
V
IN
-
V
IN
+
C1IN+
CV
REF
C1IN+
C1OUT
(1)
C1OUT (CMCON<6>)
C1NEG
C1POS
C2NEG
C2POS
C1INV
C2INV
C1OUTEN
C2OUTEN
C1EN
C2EN
Note 1: This peripheral’s outputs must be assigned to an available RPn pin before use. Refer to
 for more information.