Datasheet

2010-2015 Microchip Technology Inc. DS40001303H-page 275
PIC18F2XK20/4XK20
TABLE 21-1: REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
REGISTER 21-2: CVRCON2: COMPARATOR VOLTAGE REFERENCE CONTROL 2 REGISTER
R/W-0 R-0 U-0 U-0 U-0 U-0 U-0 U-0
FVREN FVRST
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 FVREN: Fixed Voltage Reference Enable bit
1 = FVR circuit powered on
0 = FVR circuit not enabled by FVREN. Other peripherals may enable FVR.
bit 6 FVRST: Fixed Voltage Stable Status bit
1 = FVR is stable and can be used.
0 = FVR is not stable and should not be used.
bit 5-0 Unimplemented: Read as ‘0’.
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values
on page
CVRCON CVREN CVROE CVRR CVRSS CVR3 CVR2 CVR1 CVR0 59
CVRCON2 FVREN FVRST —58
CM1CON0
C1ON C1OUT C1OE C1POL C1SP C1R C1CH1 C1CH0 59
CM2CON0 C2ON C2OUT C2OE C2POL C2SP C2R C2CH1 C2CH0 59
CM2CON1 MC1OUT MC2OUT C1RSEL C2RSEL —60
TRISA TRISA7
(1)
TRISA6
(1)
PORTA Data Direction Control Register 59
Legend: Shaded cells are not used with the comparator voltage reference.
Note 1: PORTA pins are enabled based on oscillator configuration.