Datasheet

2012-2013 Microchip Technology Inc. DS30009312B-page 387
PIC24FJ128GC010 FAMILY
31.0 COMPARATOR VOLTAGE
REFERENCE
31.1 Configuring the Comparator
Voltage Reference
The voltage reference module is controlled through the
CVRCON register (Register 31-1). The comparator
voltage reference provides a range of output voltages,
with 32 distinct levels. The comparator reference sup-
ply voltage can come from either VDD and VSS, or the
external CV
REF+ and CVREF- pins. The voltage source
is selected by the CVRSS bit (CVRCON<5>).
The settling time of the comparator voltage reference
must be considered when changing the CV
REF
output.
FIGURE 31-1: COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
Note: This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to the
PIC24F Family Reference Manual”, “Dual
Comparator Module” (DS39710). The
information in this data sheet supersedes
the information in the FRM.
32-to-1 MUX
CVR<4:0>
R
CVREN
CVRSS = 0
AV
DD
CVREF+
CVRSS = 1
CVRSS = 0
CV
REF-
CVRSS = 1
R
R
R
R
R
R
32 Steps
CVREF
AVSS
CVROE
CVREF
Pin