theCore C++ embedded framework
|
ADC interrupts helper. More...
#include </home/travis/build/forGGe/theCore/platform/stm32/export/aux/adc.hpp>
Public Member Functions | |
template<adc_dev dev> | |
void | subscribe (const adc_evh &h) |
Subscribes for ADC events and registers given handler handler. More... | |
template<adc_dev dev> | |
void | unsubscribe () |
Unsubscribes from ADC events and deregisters event handler. More... | |
Static Public Member Functions | |
static adc_irq_dispatcher & | get_instance () |
Gets dispatcher instance. More... | |
ADC interrupts helper.
Accross all 3 ADC there is only 1 interrupt channel avaliable. ADC interrupt helper dispatches incoming interrupt and calls appropriate handlers.