English
Language : 

PIC24FV16KM204 Datasheet, PDF (239/336 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontroller with XLP Technology Data Sheet
PIC24FV16KM204 FAMILY
23.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 refer-
ence source. For more information on the
Comparator Voltage Reference, refer to
the “PIC24F Family Reference Manual”,
Section 20. “Comparator Voltage
Reference Module” (DS39709).
23.1 Configuring the Comparator
Voltage Reference
The comparator voltage reference module is controlled
through the CVRCON register (Register 23-1). The
comparator voltage reference provides a range of
output voltages with 32 distinct levels.
The comparator voltage reference supply voltage can
come from either VDD and VSS, or the external VREF+
and VREF-. 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 23-1:
COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
VREF+
CVRSS = 1
AVDD
CVRSS = 0
CVREN
R
R
R
R
32 Steps
R
R
R
CVR<3:0>
CVREF
VREF-
CVRSS = 1
CVRSS = 0
AVSS
 2013 Microchip Technology Inc.
Advance Information
DS33030A-page 239