os
0.1.0
Module timer
Constants
Functions
In crate os
?
Settings
Module
os
::
timer
Copy item path
source
·
[
−
]
Expand description
RISC-V timer-related functionality
Constants
§
MSEC_PER_SEC
🔒
TICKS_PER_SEC
🔒
Functions
§
get_time
read the
mtime
register
get_time_ms
get current time in milliseconds
set_next_trigger
set the next timer interrupt