Struct dac_chan_config

Configuration for a DAC channel. This structure should be initialized by the dac_chan_get_config_defaults() function before being modified by the user application.

Table 1. Members
Type Name Description
enum dac_current_ctrl current

Current control data

bool dither_mode

Dither mode enable data

bool left_adjust

Left adjusted data

uint8_t refresh_period

The DAC conversion refreshed periodically when used to generate a static voltage

bool run_in_standby

The DAC behaves as in normal mode when the chip enters STANDBY sleep mode