14#ifndef SBL_HAL_TIMING_SYSTEM_TIME_HPP_
15#define SBL_HAL_TIMING_SYSTEM_TIME_HPP_
32template<
typename PlatformTimer>
44 return PlatformTimer::millis();
56 return PlatformTimer::micros();
68 PlatformTimer::delayMs(ms);
79 PlatformTimer::delayUs(us);
System time interface for platform-independent timing.
static uint32_t micros()
Get system time in microseconds.
static void delayMs(uint32_t ms)
Blocking delay in milliseconds.
static void delayUs(uint32_t us)
Blocking delay in microseconds.
static uint32_t millis()
Get system time in milliseconds.
Root namespace for all Sound Byte Libs functionality.