Datasheet
PIC18(L)F1XK22
DS40001365F-page 236 2009-2016 Microchip Technology Inc.
REGISTER 21-2: VREFCON2: VOLTAGE REFERENCE CONTROL REGISTER 1
U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
— — —
DAC1R<4: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
bit 7-5 Unimplemented: Read as ‘0’
bit 4-0 DAC1R<4:0>: DAC Voltage Output Select bits
V
OUT = ((VSRC+) - (VSRC-))*(DAC1R<4:0>/(2
5
)) + VSRC-
TABLE 21-1: REGISTERS ASSOCIATED WITH DAC MODULE
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values on
Page
VREFCON0 FVR1EN FVR1ST FVR1S<1:0>
— — — — 232
VREFCON1 D1EN D1LPS DAC1OE
—D1PSS<1:0> —D1NSS235
VREFCON2
— — —DAC1R<4:0>236
Legend: — = Unimplemented locations, read as ‘0’. Shaded bits are not used by the DAC module.