AVRly - AVR Development Resources
dac_config_t Struct Reference

Config struct for DAC. More...

#include <mcp48x2_dac.h>

Public Attributes

model_num_t model
 
bool sync_manually
 
dac_channel_t channel_a
 
dac_channel_t channel_b
 

Detailed Description

Config struct for DAC.

Instantiate this object and assign values to it's members before passing it's address intp the init_dac() function.

Definition at line 75 of file mcp48x2_dac.h.

Member Data Documentation

◆ model

model_num_t dac_config_t::model

Definition at line 77 of file mcp48x2_dac.h.

◆ sync_manually

bool dac_config_t::sync_manually

Definition at line 78 of file mcp48x2_dac.h.

◆ channel_a

dac_channel_t dac_config_t::channel_a

Definition at line 79 of file mcp48x2_dac.h.

◆ channel_b

dac_channel_t dac_config_t::channel_b

Definition at line 80 of file mcp48x2_dac.h.


The documentation for this struct was generated from the following file: