29.7.2 Control B

Table 29-3. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
R Readable bit HC Cleared by Hardware(Grey cell)Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: CTRLB
Offset: 0x01
Reset: 0x00
Property: PAC Write-Protection, Enable-Protected

Bit 76543210 
 REFSEL[1:0]  VPDLEFTADJIOENEOEN 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

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

This bit field selects the Reference Voltage for the DAC.

Note: INT1V is the buffered internal reference of 1.0V, derived from the internal 1.1V bandgap reference.
ValueNameDescription
0x0INT1VInternal voltage reference
0x1AVDDAnalog voltage supply
0x2VREFAExternal reference
0x3-Reserved

Bit 3 – VPD Voltage Pump Disabled

This bit controls the behavior of the voltage pump.

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

Bit 2 – LEFTADJ Left-Adjusted Data

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

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

Bit 1 – IOEN Internal Output Enable

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

Bit 0 – EOEN External Output Enable

ValueDescription
0The DAC output is turned off.
1The high-drive output buffer drives the DAC output to the internal ADC Positive Mux Input Selection and to the VOUT pin.