32.6.1 DACxCON

Digital-to-Analog Converter Control Register
Note:
  1. The REFRNG bit only applies to DAC1OUT2.
Name: DACxCON
Offset: 0x110C

Bit 76543210 
 ENREFRNGOE[1:0]PSS[1:0] NSS 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 7 – EN DAC Enable

ValueDescription
1DAC is enabled
0DAC is disabled

Bit 6 – REFRNG  Buffer Reference Range Selection(1)

ValueNameDescription
xDACAUTOEN = 0Automatic ranging enabled; the REFRNG bit is ignored
1DACAUTOEN = 1Range optimized for voltages from (VSS + 1.0V) through VDD
0DACAUTOEN = 1Range optimized for voltages from VSS through (VDD - 1.0V)

Bits 5:4 – OE[1:0] DAC Output Enable

OEDAC1
11DAC1OUT2 is disabled
10DAC1OUT2 is enabled on pin RB7 only
01DAC1OUT2 is disabled
00DAC1OUT2 is disabled

Bits 3:2 – PSS[1:0] DAC Positive Reference Selection

PSSDAC Positive Reference
11Reserved, do not use
10FVR Buffer 2
01VREF+
00VDD

Bit 0 – NSS DAC Negative Reference Selection

NSSDAC Negative Reference
1VREF-
0VSS
The REFRNG bit only applies to DAC1OUT2.