Microchip Technology MA160014 Data Sheet

Page of 560
PIC18(L)F2X/4XK22
DS41412F-page 348
 2010-2012 Microchip Technology Inc.
  
REGISTER 22-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
DACR<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
DACR<4:0>: DAC Voltage Output Select bits
V
OUT
 = ((V
SRC
+) - (V
SRC
-))*(DACR<4:0>/(2
5
)) + V
SRC
-
TABLE 22-1:
REGISTERS ASSOCIATED WITH DAC MODULE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register 
on Page
VREFCON0
FVREN
FVRST
FVRS<1:0>
VREFCON1
DACEN
DACLPS
DACOE
DACPSS<1:0>
DACNSS
VREFCON2
DACR<4:0>
Legend:
— = Unimplemented locations, read as ‘0’. Shaded bits are not used by the DAC module.