Microchip® Advanced Software Framework

sdadc_callback.c File Reference

SAM Sigma-Delta Analog-to-Digital Converter Driver.

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

#include "sdadc_callback.h"

Functions

static void _sdadc_interrupt_handler (const uint8_t instance)
 
void sdadc_abort_job (struct sdadc_module *module_inst, enum sdadc_job_type type)
 Aborts an ongoing job. More...
 
enum status_code sdadc_get_job_status (struct sdadc_module *module_inst, enum sdadc_job_type type)
 Gets the status of a job. More...
 
void SDADC_Handler (void)
 Interrupt handler for the SDADC module. More...
 
enum status_code sdadc_read_buffer_job (struct sdadc_module *const module_inst, int32_t *buffer, uint16_t samples)
 Read multiple samples from SDADC. More...
 
void sdadc_register_callback (struct sdadc_module *const module, sdadc_callback_t callback_func, enum sdadc_callback callback_type)
 Registers a callback. More...
 
void sdadc_unregister_callback (struct sdadc_module *const module, enum sdadc_callback callback_type)
 Unregisters a callback. More...
 

Variables

struct sdadc_module_sdadc_instances [SDADC_INST_NUM]
 

static void _sdadc_interrupt_handler ( const uint8_t  instance)
static
void SDADC_Handler ( void  )

Interrupt handler for the SDADC module.

References _sdadc_interrupt_handler().

struct sdadc_module* _sdadc_instances[SDADC_INST_NUM]

Referenced by sdadc_init().