31#ifndef SBL_VALIDATION_TIMER_REQUIREMENTS_HPP_
32#define SBL_VALIDATION_TIMER_REQUIREMENTS_HPP_
45template<
typename TimerDriver>
55 "SBL ERROR: Timer driver missing busy_wait_ms() method.\n"
56 "Required: static void busy_wait_ms(uint32_t)");
59 "SBL ERROR: Timer driver missing millis() method.\n"
60 "Required: static uint32_t millis()");
63 "SBL ERROR: Timer driver missing micros() method.\n"
64 "Required: static uint32_t micros()");
69 "SBL ERROR: Timer micros() must return uint32_t.");
88template<
typename TimerDriver>
Timer driver requirements validator.
static constexpr bool validate()
Validate all required Timer methods.
Method and interface detection for driver validation.
constexpr bool timer_driver_valid
Helper to validate a Timer driver implementation.
Root namespace for all Sound Byte Libs functionality.
Timer Driver Method Detection.