PIC12F/LF1822/16F/LF1823
REGISTER 14-1: FVRCON: FIXED VOLTAGE REFERENCE CONTROL REGISTER
R/W-0/0
FVREN
bit 7
R-q/q
FVRRDY(1)
R/W-0/0
Reserved
R/W-0/0 R/W-0/0
Reserved CDAFVR1
R/W-0/0
CDAFVR0
R/W-0/0
ADFVR1
R/W-0/0
ADFVR0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
q = Value depends on condition
bit 7
bit 6
bit 5-4
bit 3-2
bit 1-0
FVREN: Fixed Voltage Reference Enable bit
0 = Fixed Voltage Reference is disabled
1 = Fixed Voltage Reference is enabled
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
Reserved: Read as ‘0’. Maintain these bits clear.
CDAFVR<1:0>: Comparator and DAC Fixed Voltage Reference Selection bits
00 = Comparator and DAC Fixed Voltage Reference Peripheral output is off
01 = Comparator and DAC Fixed Voltage Reference Peripheral output is 1x (1.024V)
10 = Comparator and DAC Fixed Voltage Reference Peripheral output is 2x (2.048V)(2)
11 = Comparator and DAC Fixed Voltage Reference Peripheral output is 4x (4.096V)(2)
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 devices with the LDO (PIC12F1822/16F1823).
2: Fixed Voltage Reference output cannot exceed VDD.
TABLE 14-1: SUMMARY OF REGISTERS ASSOCIATED WITH THE FIXED VOLTAGE REFERENCE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on page
FVRCON
FVREN FVRRDY Reserved Reserved CDAFVR1 CDAFVR0 ADFVR1 ADFVR0
132
Legend: Shaded cells are unused by the Fixed Voltage Reference module.
DS41413A-page 132
Preliminary
2010 Microchip Technology Inc.