|
Hierodule 1.6.2
Utility module set for STM32 MCUs
|
: Header file for the ADC module. More...
Go to the source code of this file.
Data Structures | |
| struct | HIERODULE_ADC_Wrapper |
| Struct that keeps variables for the ADC data, a pointer to the ADC peripheral and a pointer to the ISR for EOC. More... | |
Macros | |
| #define | HIERODULE_ADC_SMOOTHENING_FILTER |
| Precompiler constant to toggle ADC smoothing filter. | |
Functions | |
| HIERODULE_ADC_Wrapper ** | HIERODULE_ADC_InitWrapper (ADC_TypeDef *_ADC, void(*ISR)(uint16_t)) |
| Initializes a wrapper for the specified ADC peripheral. | |
| void | HIERODULE_ADC_ReleaseWrapper (HIERODULE_ADC_Wrapper *Wrapper) |
| Frees the memory allocated to an ADC wrapper. | |
| void | HIERODULE_ADC_Enable (HIERODULE_ADC_Wrapper *Wrapper) |
| Updates relevant control register bits to start ADC action. | |
| void | HIERODULE_ADC_Disable (HIERODULE_ADC_Wrapper *Wrapper) |
| Updates relevant control register bits to stop ADC action. | |
Definition in file hierodule_adc.h.