theCore C++ embedded framework
|
STM32F4XX ADC wrappers. More...
#include <stm32f4xx.h>
#include <utility>
Namespaces | |
ecl | |
Enumerations | |
enum | ecl::adc_dev { ecl::adc_dev::dev1 = ADC1_BASE, ecl::adc_dev::dev2 = ADC2_BASE, ecl::adc_dev::dev3 = ADC3_BASE } |
Present ADC devices in the MCU. More... | |
Functions | |
static constexpr auto | ecl::adcs_count () |
Gets amount of present ADC devices. More... | |
static constexpr auto | ecl::get_adc_idx (adc_dev dev) |
Maps ADC to index in the ADC array. More... | |
Variables | |
static constexpr auto | ecl::adc_irqn = ADC_IRQn |
ADC IRQ channel. More... | |
static constexpr adc_dev | ecl::adcs [] = { adc_dev::dev1, adc_dev::dev2, adc_dev::dev3 } |
Possible ADCs/. More... | |
STM32F4XX ADC wrappers.