Datasheet
2011-2012 Microchip Technology Inc. Preliminary DS61168E-page 209
PIC32MX1XX/2XX
22.0 COMPARATOR
The PIC32MX1XX/2XX Analog Comparator module
contains three comparators that can be configured in a
variety of ways.
Following are some of the key features of this module:
• Selectable inputs available include:
- Analog inputs multiplexed with I/O pins
- On-chip internal absolute voltage reference
(IV
REF)
- Comparator voltage reference (CV
REF)
• Outputs can be Inverted
• Selectable interrupt generation
A block diagram of the comparator module is provided
in Figure 22-1.
FIGURE 22-1: COMPARATOR BLOCK DIAGRAM
Note 1: This data sheet summarizes the features
of the PIC32MX1XX/2XX family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this
data sheet, refer to Section 19.
“Comparator” (DS61110) in the “PIC32
Family Reference Manual”, which is
available from the Microchip web site
(www.microchip.com/PIC32).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization” in
this data sheet for device-specific register
and bit information.
C3IND
C3INA
C3OUT
CMP3
COE
CREF
CCH<1:0>
CPOL
C3INC
C3INB
CVREF
(1)
IVREF (1.2V)
C2IND
C2INA
C2OUT
CMP2
COE
CREF
CCH<1:0>
CPOL
C2INC
C2INB
C1IND
C1INA
C1OUT
CMP1
COE
CREF
CCH<1:0>
CPOL
C1INC
C1INB
CMSTAT<C1OUT>
CM1CON<COUT>
CMSTAT<C2OUT>
CM2CON<COUT>
CMSTAT<C3OUT>
CM3CON<COUT>
To CTMU module
(Pulse Generator)
Note 1: Internally connected. See Section 23.0 “Comparator Voltage Reference
(CV
REF)” for more information.