Module time

Module time 

Source
Expand description

Time and delay utilities for oveRTOS.

Provides a monotonic microsecond timestamp (get_us) and busy-wait or scheduler-yielding delay functions (delay_ms, delay_us).

Functionsยง

delay_ms
Block the current thread for at least ms milliseconds.
delay_us
Block the current thread for at least us microseconds.
get_us
Get the current monotonic time in microseconds since an arbitrary epoch.