PIC16(L)F1503
16.6 Register Definitions: DAC Control
REGISTER 16-1: DACxCON0: VOLTAGE REFERENCE CONTROL REGISTER 0
R/W-0/0
DACEN
bit 7
U-0
R/W-0/0
R/W-0/0
U-0
R/W-0/0
U-0
—
DACOE1
DACOE2
—
DACPSS
—
U-0
—
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
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
DACEN: DAC Enable bit
1 = DACx is enabled
0 = DACx is disabled
Unimplemented: Read as ‘0’
DACOE1: DAC Voltage Output Enable bit
1 = DACx voltage level is output on the DACxOUT1 pin
0 = DACx voltage level is disconnected from the DACxOUT1 pin
DACOE2: DAC Voltage Output Enable bit
1 = DACx voltage level is output on the DACxOUT2 pin
0 = DACx voltage level is disconnected from the DACxOUT2 pin
Unimplemented: Read as ‘0’
DACPSS: DAC Positive Source Select bit
1 = VREF+ pin
0 = VDD
Unimplemented: Read as ‘0’
REGISTER 16-2: DACxCON1: VOLTAGE REFERENCE CONTROL REGISTER 1
U-0
—
bit 7
U-0
U-0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
—
—
DACR<4:0>
R/W-0/0
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
bit 7-5
bit 4-0
Unimplemented: Read as ‘0’
DACR<4:0>: DAC Voltage Output Select bits
TABLE 16-1: SUMMARY OF REGISTERS ASSOCIATED WITH THE DAC MODULE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
DAC1CON0
DACEN
—
DACOE1 DACOE2
—
DACPSS
—
DAC1CON1
—
—
—
DACR<4:0>
Legend: — = Unimplemented location, read as ‘0’. Shaded cells are not used with the DAC module.
Bit 0
—
Register
on page
129
129
2011-2015 Microchip Technology Inc.
DS40001607D-page 129