English
Language : 

PIC32MX5XX_11 Datasheet, PDF (159/256 Pages) Microchip Technology – High-Performance, USB, CAN and Ethernet 32-bit Flash Microcontrollers
PIC32MX5XX/6XX/7XX
25.0 COMPARATOR
Note 1: This data sheet summarizes the features
of the PIC32MX5XX/6XX/7XX 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 Analog Comparator module contains two compar-
ators 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
illustrated in Figure 25-1.
FIGURE 25-1:
C1IN+(1)
CVREF(2)
C1IN-
C1IN+
C2IN+
IVREF(2)
COMPARATOR BLOCK DIAGRAM
CREF
Comparator 1
ON
CPOL
CCH<1:0>
C1
COUT (CM1CON<8>)
C1OUT (CMSTAT<0>)
C1OUT
COE
C2IN+
CVREF(2)
C2IN-
C2IN+
C1IN+
IVREF(2)
CREF
Comparator 2
ON
CPOL
CCH<1:0>
C2
COUT (CM2CON<8>)
C2OUT (CMSTAT<1>)
C2OUT
COE
Note 1: On devices with a USB module, and when the module is enabled, this pin is controlled by the USB module,
and therefore, is not available as a comparator input.
2: Internally connected. See Section 26.0 “Comparator Voltage Reference (CVREF)”.
© 2009-2011 Microchip Technology Inc.
DS61156G-page 159