Datasheet
PIC16(L)F1782/3
DS41579D-page 172 Preliminary 2011-2012 Microchip Technology Inc.
19.6 Register Definitions: DAC Control
TABLE 19-1: SUMMARY OF REGISTERS ASSOCIATED WITH THE DAC MODULE
REGISTER 19-1: DACCON0: VOLTAGE REFERENCE CONTROL REGISTER 0
R/W-0/0 U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 U-0 R/W-0/0
DACEN
— DACOE1 DACOE2 DACPSS<1:0> — DACNSS
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
DACEN: DAC Enable bit
1 = DAC is enabled
0 = DAC is disabled
bit 6
Unimplemented: Read as ‘0’
bit 5
DACOE1: DAC Voltage Output 1 Enable bit
1 = DAC voltage level is also an output on the DACOUT1 pin
0 = DAC voltage level is disconnected from the DACOUT1 pin
bit 4
DACOE2: DAC Voltage Output 2 Enable bit
1 = DAC voltage level is also an output on the DACOUT2 pin
0 = DAC voltage level is disconnected from the DACOUT2 pin
bit 3-2
DACPSS<1:0>: DAC Positive Source Select bits
11 = Reserved, do not use
10 = FVR Buffer2 output
01 =VREF+ pin
00 =VDD
bit 1 Unimplemented: Read as ‘0’
bit 0
DACNSS: DAC Negative Source Select bits
1 =VREF- pin
0 =VSS
REGISTER 19-2: DACCON1: VOLTAGE REFERENCE CONTROL REGISTER 1
R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
DACR<7: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-0
DACR<7:0>: DAC Voltage Output Select bits
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 CDAFVR<1:0> ADFVR<1:0> 145
DACCON0 DACEN — DACOE1 DACOE2 DACPSS<1:0> — DACNSS 172
DACCON1 DACR<7:0> 172
Legend:
— = Unimplemented location, read as ‘0’. Shaded cells are not used with the DAC module.