Microchip® Advanced Software Framework

dac_chan_config Struct Reference

DAC channel configuration structure.

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.

#include <dac_feature.h>

Data Fields

enum dac_current_ctrl current
 Current control data. More...
 
bool dither_mode
 Dither mode enable data. More...
 
bool left_adjust
 Left adjusted data. More...
 
uint8_t refresh_period
 The DAC conversion refreshed periodically when used to generate a static voltage. More...
 
bool run_in_standby
 The DAC behaves as in normal mode when the chip enters STANDBY sleep mode. More...
 

enum dac_current_ctrl dac_chan_config::current

Current control data.

Referenced by dac_chan_get_config_defaults(), and dac_chan_set_config().

bool dac_chan_config::dither_mode

Dither mode enable data.

Referenced by dac_chan_get_config_defaults(), and dac_chan_set_config().

bool dac_chan_config::left_adjust

Left adjusted data.

Referenced by dac_chan_get_config_defaults(), and dac_chan_set_config().

uint8_t dac_chan_config::refresh_period

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

Referenced by dac_chan_get_config_defaults(), and dac_chan_set_config().

bool dac_chan_config::run_in_standby

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

Referenced by dac_chan_get_config_defaults(), and dac_chan_set_config().