SAM ADC Quick Start.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
Functions | |
void | configure_adc (void) |
[module_inst] More... | |
int | main (void) |
[setup] More... | |
Variables | |
struct adc_module | adc_instance |
[module_inst] More... | |
void configure_adc | ( | void | ) |
[module_inst]
[setup]
[setup_config]
[setup_config] [setup_config_defaults]
[setup_config_defaults]
[setup_set_config]
[setup_set_config]
[setup_enable]
[setup_enable]
int main | ( | void | ) |
[setup]
[setup_init]
[setup_init]
[main] [start_conv]
[start_conv]
[get_res]
[get_res]
[inf_loop]
[inf_loop] [main]
References adc_instance, adc_read(), adc_start_conversion(), configure_adc(), result, STATUS_BUSY, and system_init().
struct adc_module adc_instance |
[module_inst]