embedded-software
reusable software modules for embedded systems
|
#include "adc.h"
Data Structures | |
struct | adc_channel |
Macros | |
#define | ADC_QUEUE_SIZE 10 |
Typedefs | |
typedef void(* | callback_no_input_t )(uint16_t) |
Functions | |
void | ADC_Init (void) |
Initialize the ADC module. More... | |
void | ADC_AddChannel (uint8_t channel, uint16_t period, void(*callback)(uint16_t, void *), void *ptr) |
add a channel to the list of channels to measure, a period at which to measure it, and a callback More... | |
void | ADC_ProcessMeasurementFromISR (uint16_t value) |
#define ADC_QUEUE_SIZE 10 |
typedef void(* callback_no_input_t)(uint16_t) |