theCore C++ embedded framework
ecl::extractor< chs > Struct Template Reference

Extracts information of the given channel group. More...

#include </home/travis/build/forGGe/theCore/platform/stm32/export/aux/adc.hpp>

Static Public Member Functions

static constexpr uint8_t conv_num ()
 Returns amount of conversions required to convert given channels. More...
 
static constexpr FunctionalState scan_mode ()
 Returns scan mode for given channels. More...
 
static void init_channels (ADC_TypeDef *spl_adc)
 Initialize channels. More...
 

Detailed Description

template<adc_channel... chs>
struct ecl::extractor< chs >

Extracts information of the given channel group.

Template Parameters
chsList of channels to work on.

Member Function Documentation

◆ conv_num()

template<adc_channel... chs>
static constexpr uint8_t ecl::extractor< chs >::conv_num ( )
inlinestatic

Returns amount of conversions required to convert given channels.

◆ scan_mode()

template<adc_channel... chs>
static constexpr FunctionalState ecl::extractor< chs >::scan_mode ( )
inlinestatic

Returns scan mode for given channels.

Here is the call graph for this function:

◆ init_channels()

template<adc_channel... chs>
static void ecl::extractor< chs >::init_channels ( ADC_TypeDef *  spl_adc)
inlinestatic

Initialize channels.

Parameters
[in]spl_adcADC MMIO structure used by SPL.
Here is the call graph for this function:

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