Atmel Software Framework

adc_example.c File Reference
#include <asf.h>
#include "conf_example.h"

Functions

int main (void)
 Main application entry point - init and loop to display ADC values. More...
 

Variables

const gpio_map_t ADC_GPIO_MAP
 GPIO pin/adc-function map. More...
 

int main ( void  )

Main application entry point - init and loop to display ADC values.

References adc_configure(), adc_enable(), adc_get_value(), adc_start(), delay_ms, gpio_enable_module(), init_dbg_rs232(), print_dbg(), print_dbg_hex(), sysclk_get_cpu_hz(), and sysclk_init().

const gpio_map_t ADC_GPIO_MAP
Initial value:
= {
}

GPIO pin/adc-function map.

Referenced by acc_init(), adc_init(), and init_adc().