|
Internal Interface Wrap
API reference
|
Functions | |
| void | InitMonotonic () noexcept |
No-op on ESP-IDF: the high-resolution timer is started by the system bootstrap before app_main runs. | |
| std::uint64_t | MonotonicUs () noexcept |
| Microseconds since boot from the hardware-backed timer. | |
|
inlinenoexcept |
No-op on ESP-IDF: the high-resolution timer is started by the system bootstrap before app_main runs.
Provided so callers writing portable init code can keep a single call site regardless of target.
|
inlinenoexcept |
Microseconds since boot from the hardware-backed timer.
esp_timer_get_time() returns int64_t but is documented to be non-negative once started; widening to uint64_t matches the unsigned arithmetic used at call sites (deltas, comparisons).
Safe from any task or ISR.