theCore C++ embedded framework
ecl::adc_irq_dispatcher Class Reference

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_dispatcherget_instance ()
 Gets dispatcher instance. More...
 

Detailed Description

ADC interrupts helper.

Accross all 3 ADC there is only 1 interrupt channel avaliable. ADC interrupt helper dispatches incoming interrupt and calls appropriate handlers.

Warning
Intended to be used only by adc class. Acts like a singleton.

The documentation for this class was generated from the following file: