DACxCON
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EN | REFRNG | OE[1:0] | PSS[1:0] | NSS | |||
AccessR/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset0 | 0 | 0 | 0 | 0 | 0 | 0 |
DAC Enable
Value | Description |
---|---|
1 |
DAC is enabled |
0 |
DAC is disabled |
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) |
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 |
DAC Positive Reference Selection
PSS | DAC Positive Reference |
---|---|
11 |
Reserved, do not use |
10 |
FVR Buffer 2 |
01 |
VREF+ |
00 |
VDD |
DAC Negative Reference Selection
NSS | DAC Negative Reference |
---|---|
1 |
VREF- |
0 |
VSS |