|
Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Optional convenience aliases for SBL namespaces. More...
#include <sbl/driver/gpio.hpp>#include <sbl/driver/timer.hpp>#include <sbl/driver/init.hpp>Go to the source code of this file.
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs functionality. | |
Typedefs | |
| using | sbl::Gpio = driver::Gpio |
| using | sbl::Timer = driver::Timer |
| using | sbl::PinMode = driver::PinMode |
Optional convenience aliases for SBL namespaces.
Include this header to bring driver functions and common types into the sbl:: namespace for shorter code. This is opt-in.
Without aliases (explicit): sbl::driver::Gpio::set_mode(pin, sbl::driver::PinMode::Output); sbl::driver::Timer::delay_ms(500);
With aliases (convenient): sbl::Gpio::set_mode(pin, sbl::PinMode::Output); sbl::Timer::delay_ms(500);
Definition in file aliases.hpp.