embedded-software
reusable software modules for embedded systems
|
Go to the source code of this file.
Macros | |
#define | ADC_MAX_CHANNELS 8 |
Typedefs | |
typedef void(* | callback_input_t )(uint16_t, void *) |
helpful typedef for adc callback with input More... | |
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) |
void | hal_ADC_Init (void) |
hardware abstaction layer ADC initialization More... | |
void | hal_ADC_StartChannel (uint8_t channel) |
hardware abstaction layer start ADC measurement for a channel More... | |