SAM SDADC Quick Start.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
Functions | |
void | configure_sdadc (void) |
[module_inst] More... | |
int | main (void) |
[setup] More... | |
Variables | |
struct sdadc_module | sdadc_instance |
[module_inst] More... | |
void configure_sdadc | ( | void | ) |
[module_inst]
[job_complete_callback]
[setup]
[setup_config]
[setup_config] [setup_config_defaults]
[setup_config_defaults]
[setup_set_config]
[setup_set_config]
[setup_enable]
[setup_enable]
References sdadc_enable(), sdadc_get_config_defaults(), sdadc_init(), and sdadc_instance.
Referenced by main().
int main | ( | void | ) |
[setup]
[setup_init]
[setup_init]
[main] [start_conv]
[start_conv]
[get_res]
[get_res]
[inf_loop]
[inf_loop] [main]
References configure_sdadc(), result, sdadc_instance, sdadc_read(), sdadc_start_conversion(), STATUS_BUSY, and system_init().
struct sdadc_module sdadc_instance |
[module_inst]
Referenced by configure_sdadc(), configure_sdadc_callbacks(), and main().