English
Language : 

PIC32MX1XX_12 Datasheet, PDF (209/328 Pages) Microchip Technology – 32-bit Microcontrollers (up to 128 KB Flash and 32 KB SRAM) with Audio and Graphics Interfaces, USB, and Advanced Analog
PIC32MX1XX/2XX
22.0 COMPARATOR
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.
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
(IVREF)
- Comparator voltage reference (CVREF)
• Outputs can be Inverted
• Selectable interrupt generation
A block diagram of the comparator module is provided
in Figure 22-1.
FIGURE 22-1:
C1INB
C1INC
C1IND
C1INA
COMPARATOR BLOCK DIAGRAM
CCH<1:0>
CREF
CMP1
CPOL
COE
C1OUT
CMSTAT<C1OUT>
CM1CON<COUT>
C2INB
C2INC
C2IND
C2INA
CCH<1:0>
CREF
CMP2
CPOL
To CTMU module
(Pulse Generator)
COE
C2OUT
CMSTAT<C2OUT>
CM2CON<COUT>
C3INB
C3INC
C3IND
C3INA
CVREF(1)
IVREF (1.2V)
CCH<1:0>
CREF
CMP3
CPOL
COE
C3OUT
CMSTAT<C3OUT>
CM3CON<COUT>
Note 1: Internally connected. See Section 23.0 “Comparator Voltage Reference
(CVREF)” for more information.
 2011-2012 Microchip Technology Inc.
Preliminary
DS61168E-page 209