32.6.1 DACxCON
Note:
- The REFRNG bit only applies to DAC1OUT1.
Name: | DACxCON |
Address: | 0x110C |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
EN | REFRNG | OE[1:0] | PSS[1:0] | NSS | |||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – EN DAC Enable
Value | Description |
---|---|
1 | DAC is enabled |
0 | DAC is disabled |
Bit 6 – REFRNG Buffer Reference Range Selection(1)
Value | Name | Description |
---|---|---|
x | DACAUTOEN =
0 | Automatic ranging enabled; the REFRNG bit is ignored |
1 | DACAUTOEN =
1 | Range optimized for voltages from (VSS + 1.0V) through VDD |
0 | DACAUTOEN =
1 | Range optimized for voltages from VSS through (VDD - 1.0V) |
Bits 5:4 – OE[1:0] DAC Output Enable
OE | DAC1 |
---|---|
11 | DAC1OUT1 is disabled |
10 | DAC1OUT1 is disabled |
01 | DAC1OUT1 is enabled on pin RA0 only |
00 | DAC1OUT1 is disabled |
Bits 3:2 – PSS[1:0] DAC Positive Reference Selection
PSS | DAC Positive Reference |
---|---|
11 | Reserved, do not use |
10 | FVR Buffer 2 |
01 | VREF+ |
00 | VDD |
Bit 0 – NSS DAC Negative Reference Selection
NSS | DAC Negative Reference |
---|---|
1 | VREF- |
0 | VSS |