SDADC configuration structure.
Configuration structure for an SDADC instance. This structure should be initialized by the sdadc_get_config_defaults() function before being modified by the user application.
#include <sdadc.h>
Data Fields | |
uint8_t | clock_prescaler |
Clock prescaler. More... | |
enum gclk_generator | clock_source |
GCLK generator used to clock the peripheral. More... | |
struct sdadc_correction_config | correction |
Gain and offset correction configuration structure. More... | |
enum sdadc_event_action | event_action |
Event action to take on incoming event. More... | |
bool | freerunning |
Enables free running mode if true. More... | |
enum sdadc_mux_input | mux_input |
MUX input. More... | |
bool | on_command |
Enables SDADC depend on other peripheral if true. More... | |
enum sdadc_over_sampling_ratio | osr |
Over sampling ratio. More... | |
struct sdadc_reference | reference |
Voltage reference. More... | |
bool | run_in_standby |
Enables SDADC in standby sleep mode if true. More... | |
bool | seq_enable [3] |
Enables positive input in the sequence if true. More... | |
uint8_t | skip_count |
Skip Count. More... | |
struct sdadc_window_config | window |
Window monitor configuration structure. More... | |
uint8_t sdadc_config::clock_prescaler |
Clock prescaler.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
enum gclk_generator sdadc_config::clock_source |
GCLK generator used to clock the peripheral.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
struct sdadc_correction_config sdadc_config::correction |
Gain and offset correction configuration structure.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
enum sdadc_event_action sdadc_config::event_action |
Event action to take on incoming event.
Referenced by _sdadc_set_config(), sdadc_get_config_defaults(), and sdadc_init().
bool sdadc_config::freerunning |
Enables free running mode if true.
Referenced by _sdadc_set_config(), sdadc_get_config_defaults(), and sdadc_init().
enum sdadc_mux_input sdadc_config::mux_input |
MUX input.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
bool sdadc_config::on_command |
Enables SDADC depend on other peripheral if true.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
enum sdadc_over_sampling_ratio sdadc_config::osr |
Over sampling ratio.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
struct sdadc_reference sdadc_config::reference |
Voltage reference.
Referenced by _sdadc_set_config(), sdadc_get_config_defaults(), and sdadc_init().
bool sdadc_config::run_in_standby |
Enables SDADC in standby sleep mode if true.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
bool sdadc_config::seq_enable[3] |
Enables positive input in the sequence if true.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
uint8_t sdadc_config::skip_count |
Skip Count.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().
struct sdadc_window_config sdadc_config::window |
Window monitor configuration structure.
Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().