Microchip Technology MA330019 Data Sheet

Page of 460
© 2007-2012 Microchip Technology Inc.
DS70291G-page  303
dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/X04 AND dsPIC33FJ128MCX02/X04
24.0 COMPARATOR MODULE
The Comparator module provides a set of dual input 
comparators. The inputs to the comparator can be 
configured 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 24-1:
COMPARATOR I/O OPERATING MODES
Note 1: This data sheet summarizes the features 
of the dsPIC33FJ32MC302/304, 
dsPIC33FJ64MCX02/X04 and 
dsPIC33FJ128MCX02/X04 family 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 web site 
(
www.microchip.com
).
2: Some registers and associated bits 
described in this section may not be 
available on all devices. Refer to 
 in 
this data sheet for device-specific register 
and bit information.
Note:
This peripheral contains output functions 
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)
CMCON<7>
C1
C1IN-
V
IN
-
V
IN
+
C1IN+
CV
REF
C1IN+
C1OUT
(1)
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.