37.6.1 DACxCON
Name: | DACxCON |
Offset: | 0x088C + (x-1)*0x01 [x=1..2] |
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
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
Value | Description |
---|---|
11 | DACxOUTn is disabled |
10 | DACxOUT2 is enabled on pin RA0 only |
01 | DACxOUT1 is enabled on pin RA2 only |
00 | DACxOUTn is disabled |
Bits 3:2 – PSS[1:0] DAC Positive Reference Selection
Value | Description |
---|---|
11 | OPA1OUT |
10 | FVR Buffer 2 |
01 | VREF+ |
00 | VDD |
Bit 0 – NSS DAC Negative Reference Selection
Value | Description |
---|---|
1 | VREF- |
0 | VSS |