Module kernel_hal::timer
source · [−]Expand description
Time and clock functions.
Functions
Converting from now-relative durations to absolute deadlines.
Set the first time interrupt
Get current time.
TODO: use Instant
as return type.
Set a new timer. After deadline
, the callback
will be called.
TODO: use Instant
as the type of deadline
.