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_gpio_set_mode< T, typename > Struct Template Reference

GPIO Driver Method Detection (Handle-First API) More...

Detailed Description

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

GPIO Driver Method Detection (Handle-First API)

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

  • set_mode(const GpioHandle&, PinMode)
  • write(const GpioHandle&, bool)
  • read(const GpioHandle&) -> bool
  • toggle(const GpioHandle&)

Definition at line 56 of file method_detection.hpp.

#include <method_detection.hpp>

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

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