Microchip Technology AC164139 Data Sheet
2010 Microchip Technology Inc.
DS39969B-page 341
PIC24FJ256DA210 FAMILY
25.0 COMPARATOR VOLTAGE
REFERENCE
25.1
Configuring the Comparator
Voltage Reference
Voltage Reference
The voltage reference module is controlled through the
CVRCON register (Register 25-1). The comparator
voltage reference provides two ranges of output
voltage, each with 16 distinct levels. The range to be
used is selected by the CVRR bit (CVRCON<5>). The
primary difference between the ranges is the size of the
steps selected by the CV
CVRCON register (Register 25-1). The comparator
voltage reference provides two ranges of output
voltage, each with 16 distinct levels. The range to be
used is selected by the CVRR bit (CVRCON<5>). The
primary difference between the ranges is the size of the
steps selected by the CV
REF
Selection bits
(CVR<3:0>), with one range offering finer resolution.
The comparator reference supply voltage can come
from either V
The comparator reference supply voltage can come
from either V
DD
and V
SS
, or the external V
REF
+ and
V
REF
-. The voltage source is selected by the CVRSS
bit (CVRCON<4>).
The settling time of the comparator voltage reference
must be considered when changing the CV
The settling time of the comparator voltage reference
must be considered when changing the CV
REF
output.
FIGURE 25-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”,
Section 19. “Comparator Module”
(DS39710). The information in this data
sheet supersedes the information in the
FRM.
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”,
Section 19. “Comparator Module”
(DS39710). The information in this data
sheet supersedes the information in the
FRM.
16
-t
o-
1 M
U
X
CVR<3:0>
8R
R
CVREN
CVRSS = 0
AV
DD
V
REF
+
CVRSS = 1
8R
CVRSS = 0
V
REF
-
CVRSS = 1
R
R
R
R
R
R
16 Steps
CVRR
CV
REF
AV
SS
CVROE
C
VREF
Pin