Microchip® Advanced Software Framework

qs_sdadc_callback.c File Reference

SAM SDADC Quick Start.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>

Macros

#define SDADC_SAMPLES   128
 [result_buffer] More...
 

Functions

void configure_sdadc (void)
 [job_complete_callback] More...
 
void configure_sdadc_callbacks (void)
 
int main (void)
 [setup] More...
 
void sdadc_complete_callback (const struct sdadc_module *const module)
 

Variables

struct sdadc_module sdadc_instance
 [result_buffer] More...
 
volatile bool sdadc_read_done = false
 [module_inst] More...
 
int32_t sdadc_result_buffer [SDADC_SAMPLES]
 

#define SDADC_SAMPLES   128

[result_buffer]

Referenced by main().

void configure_sdadc ( void  )

[job_complete_callback]

[setup]

[setup_config]

[setup_config] [setup_config_defaults]

[setup_config_defaults]

[setup_modify_conf]

[setup_modify_conf]

[setup_set_config]

[setup_set_config]

[setup_enable]

[setup_enable]

void configure_sdadc_callbacks ( void  )

[setup_register_callback]

[setup_register_callback] [setup_enable_callback]

[setup_enable_callback]

References SDADC_CALLBACK_READ_BUFFER, sdadc_complete_callback(), sdadc_enable_callback(), sdadc_instance, and sdadc_register_callback().

Referenced by main().

int main ( void  )

[setup]

[setup_init]

[setup_init]

[main] [enable_global_interrupts]

[enable_global_interrupts]

[start_sdadc_job]

[start_sdadc_job]

[job_complete_poll]

[job_complete_poll]

[inf_loop]

[inf_loop] [main]

References configure_sdadc(), configure_sdadc_callbacks(), sdadc_instance, sdadc_read_buffer_job(), sdadc_read_done, sdadc_result_buffer, SDADC_SAMPLES, system_init(), and system_interrupt_enable_global().

void sdadc_complete_callback ( const struct sdadc_module *const  module)

References sdadc_read_done.

Referenced by configure_sdadc_callbacks().

struct sdadc_module sdadc_instance

[result_buffer]

[module_inst]

volatile bool sdadc_read_done = false

[module_inst]

[job_complete_callback]

Referenced by main(), and sdadc_complete_callback().

int32_t sdadc_result_buffer[SDADC_SAMPLES]

Referenced by main().