|
Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Gate input helpers. More...
Gate input helpers.
Typedefs | |
| using | DigitalGateInput = sbl::components::input::DigitalGateInput |
| using | DigitalGateConfig = sbl::components::input::DigitalGateConfig |
Functions | |
| template<typename Driver > | |
| void | read (DigitalGateInput &gate, const GpioHandle &handle) |
| using sbl::gate::DigitalGateInput = typedef sbl::components::input::DigitalGateInput |
|
inline |
Read GPIO pin and feed into DigitalGateInput (debounce + edge detection).
| Driver | GPIO driver type (e.g., sbl::driver::Gpio) |
| gate | DigitalGateInput instance to update |
| handle | GPIO handle for the gate pin |
Definition at line 29 of file input.hpp.
References sbl::components::input::DigitalGateInput::update().