Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::validation::has_adc_init< T, typename > Struct Template Reference

ADC Driver Method Detection. More...

Detailed Description

template<typename T, typename = void>
struct sbl::validation::has_adc_init< T, typename >

ADC Driver Method Detection.

Detects presence of required methods in ADC driver implementations. ADC drivers must implement:

  • init()
  • configure_channel(const AdcHandle&, SampleTime)
  • start_conversion(const AdcHandle&)
  • is_conversion_complete() -> bool
  • read_raw() -> uint16_t
  • resolution_bits() -> uint8_t (constexpr)

Definition at line 329 of file method_detection.hpp.

#include <method_detection.hpp>

Inheritance diagram for sbl::validation::has_adc_init< T, typename >:
[legend]

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