Microchip® Advanced Software Framework

dac_config Struct Reference

DAC configuration structure.

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

#include <dac_feature.h>

Data Fields

enum gclk_generator clock_source
 GCLK generator used to clock the peripheral. More...
 
bool differential_mode
 Differential mode enable data. More...
 
enum dac_reference reference
 Reference voltage. More...
 

enum gclk_generator dac_config::clock_source

GCLK generator used to clock the peripheral.

Referenced by dac_get_config_defaults(), dac_init(), and test_dac_init().

bool dac_config::differential_mode

Differential mode enable data.

Referenced by _dac_set_config(), and dac_get_config_defaults().

enum dac_reference dac_config::reference

Reference voltage.

Referenced by _dac_set_config(), dac_get_config_defaults(), dac_init(), and test_dac_init().