Datasheet
PIC18F97J94 FAMILY
DS30575A-page 498 2012 Microchip Technology Inc.
FIGURE 24-1: COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
REGISTER 24-2: CVRCONL: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER LOW
R/W-0 R/W-0 R/W-0 R/W-0 U-0 U-0 U-0 R/W-0
CVREN CVROE CVRPSS1 CVRPSS0 — — — CVRNSS
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7 CVREN: Comparator Voltage Reference Enable bit
1 = CV
REF circuit is powered on
0 = CV
REF circuit is powered down
bit 6 CVROE: Comparator V
REF Output Enable bit
1 = CV
REF voltage level is output on CVREF pin
0 = CV
REF voltage level is disconnected from CVREF pin
bit 5-4 CVRPSS<1:0>: Comparator VREF Positive Source (VPOSSRC) Selection bits
11 = Reserved, do not use. Positive source is floating
10 = V
BG (Band gap)
01 = V
REF+
00 = AV
DD
bit 3-1 Unimplemented: Read as ‘0’
bit 0 CVRNSS: Comparator VREF Negative Source (VNEGSRC) Selection bit
01 = VREF-
00 = AV
SS
32-to-1 MUX
CVR<4:0>
8R
R
CVREN
CVRSS = 0
AV
DD
VREF+
CVRSS = 1
R
R
R
R
R
R
32 Steps
CV
REF
VREF-
CVRSS = 1
CVRSS = 0