Module timer

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