|
Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Timer driver requirements validator. More...
#include "method_detection.hpp"Go to the source code of this file.
Classes | |
| class | sbl::validation::TimerDriverRequirements< TimerDriver > |
| Timer driver requirements validator. More... | |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs functionality. | |
| namespace | sbl::validation |
| Compile-time validation infrastructure. | |
Variables | |
| template<typename TimerDriver > | |
| constexpr bool | sbl::validation::timer_driver_valid = TimerDriverRequirements<TimerDriver>::validate() |
| Helper to validate a Timer driver implementation. | |
Timer driver requirements validator.
Validates that Timer drivers provide required functionality using the method detection system.
Every Sound Byte Libs Timer driver MUST implement these methods:
delay_ms(uint32_t) - Blocking millisecond delaymillis() -> uint32_t - Milliseconds since bootAdd validation at the bottom of driver timer.hpp:
Definition in file timer_requirements.hpp.