Control B
Name:
CTRLB
Offset:
0x01
Reset:
0x00
Access:
PAC Write-Protection, Enable-Protected
Bit76543210
REFSEL[1:0]BDWPVPDLEFTADJIOENEOEN
AccessR/WR/WR/WR/WR/WR/WR/W
Reset0000000

Bits 7:6 – REFSEL[1:0]: Reference Selection

Reference Selection

This bit field selects the Reference Voltage for the DAC.

ValueNameDescription
0x0 INTREF Internal voltage reference
0x1 VDDANA Analog voltage supply
0x2 VREFA External reference
0x3   Reserved

Bit 4 – BDWP: Bypass DATABUF Write Protection

Bypass DATABUF Write Protection

This bit can bypass DATABUF write protection.

ValueDescription
0 DATABUF register is write-protected by Peripheral Access Controller.
1 DATABUF register is not write-protected.

Bit 3 – VPD: Voltage Pump Disabled

Voltage Pump Disabled

This bit controls the behavior of the voltage pump.

ValueDescription
0 Voltage pump is turned on/off automatically
1 Voltage pump is disabled.

Bit 2 – LEFTADJ: Left-Adjusted Data

Left-Adjusted Data

This bit controls how the 10-bit conversion data is adjusted in the Data and Data Buffer registers.

ValueDescription
0 DATA and DATABUF registers are right-adjusted.
1 DATA and DATABUF registers are left-adjusted.

Bit 1 – IOEN: Internal Output Enable

Internal Output Enable

ValueDescription
0 Internal DAC output not enabled.
1 Internal DAC output enabled to be used by the AC.

Bit 0 – EOEN: External Output Enable

External Output Enable

ValueDescription
0 The DAC output is turned off.
1 The high-drive output buffer drives the DAC output to the VOUT pin.