English
Language : 

PIC24FJ128GC010 Datasheet, PDF (387/472 Pages) Microchip Technology – 16-Bit Flash Microcontrollers with 12-Bit Pipeline A/D, Sigma-Delta A/D, USB On-The-Go and XLP Technology
PIC24FJ128GC010 FAMILY
31.0 COMPARATOR VOLTAGE
REFERENCE
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.
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 CVREF+ 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 CVREF
output.
FIGURE 31-1:
COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
CVREF+
AVDD
CVRSS = 1
CVRSS = 0
CVREN
R
R
R
R
32 Steps
R
R
R
CVR<4:0>
CVREF
CVROE
CVREF
Pin
CVREF-
CVRSS = 1
CVRSS = 0
AVSS
 2012-2013 Microchip Technology Inc.
DS30009312B-page 387