Datasheet
PIC16F87/88
DS30487D-page 128 2002-2013 Microchip Technology Inc.
FIGURE 14-1: COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
TABLE 14-1: REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
CVRR
8R
CVR3
CVR0
16-to-1 Analog MUX
8R
R
R
R
R
CVREN
CV
REF
16 Stages
Input to
Comparator
CVROE
RA2/AN2/CVREF/VREF- pin
(1)
VDD
CVR2
CVR1
Note 1: VREF is available on the PIC16F88 device only.
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
POR
Value on
all other
Resets
9Dh CVRCON CVREN CVROE CVRR
— CVR3 CVR2 CVR1 CVR0 000- 0000 000- 0000
9Ch CMCON
C2OUT C1OUT C2INV C1INV CIS CM2 CM1 CM0 0000 0111 0000 0111
Legend: x = unknown, u = unchanged, - = unimplemented, read as ‘0’. Shaded cells are not used with the comparator voltage reference.