Datasheet
PIC12(L)F1822/PIC16(L)F1823
DS41413C-page 138 2010-2012 Microchip Technology Inc.
TABLE 14-1: SUMMARY OF REGISTERS ASSOCIATED WITH THE FIXED VOLTAGE REFERENCE
REGISTER 14-1: FVRCON: FIXED VOLTAGE REFERENCE CONTROL REGISTER
R/W-0/0 R-q/q R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
FVREN FVRRDY
(1)
TSEN TSRNG CDAFVR<1:0> ADFVR<1:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
bit 7
FVREN: Fixed Voltage Reference Enable bit
0 = Fixed Voltage Reference is disabled
1 = Fixed Voltage Reference is enabled
bit 6
FVRRDY: Fixed Voltage Reference Ready Flag bit
(1)
0 = Fixed Voltage Reference output is not ready or not enabled
1 = Fixed Voltage Reference output is ready for use
bit 5
TSEN: Temperature Indicator Enable bit
0 = Temperature Indicator is disabled
1 = Temperature Indicator is enabled
bit 4
TSRNG: Temperature Indicator Range Selection bit
0 =V
OUT = VDD - 2VT (Low Range)
1 =V
OUT = VDD - 4VT (HIgh Range)
bit 3-2
CDAFVR<1:0>: Comparator and DAC Fixed Voltage Reference Selection bits
00 = Comparator, DAC and CPS module Fixed Voltage Reference Peripheral output is off
01 = Comparator, DAC and CPS module Fixed Voltage Reference Peripheral output is 1x (1.024V)
10 = Comparator, DAC and CPS module Fixed Voltage Reference Peripheral output is 2x (2.048V)
(2)
11 = Comparator, DAC and CPS module Fixed Voltage Reference Peripheral output is 4x (4.096V)
(2)
bit 1-0 ADFVR<1:0>: ADC Fixed Voltage Reference Selection bits
00 = ADC Fixed Voltage Reference Peripheral output is off
01 = ADC Fixed Voltage Reference Peripheral output is 1x (1.024V)
10 = ADC Fixed Voltage Reference Peripheral output is 2x (2.048V)
(2)
11 = ADC Fixed Voltage Reference Peripheral output is 4x (4.096V)
(2)
Note 1: FVRRDY is always ‘1’ on PIC12F1822/16F1823 only.
2: Fixed Voltage Reference output cannot exceed VDD.
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Register
on page
FVRCON FVREN FVRRDY TSEN TSRNG CDAFVR1 CDAFVR0 ADFVR1 ADFVR0 138
Legend: Shaded cells are unused by the Fixed Voltage Reference module.