axhal
0.1.0
In axhal::time
Structs
Duration
Constants
MICROS_PER_SEC
MILLIS_PER_SEC
NANOS_PER_MICROS
NANOS_PER_MILLIS
NANOS_PER_SEC
TIMER_IRQ_NUM
Functions
busy_wait
busy_wait_until
current_ticks
epochoffset_nanos
monotonic_time
monotonic_time_nanos
nanos_to_ticks
set_oneshot_timer
ticks_to_nanos
wall_time
wall_time_nanos
Type Aliases
TimeValue
?
Settings
Function
axhal
::
time
::
ticks_to_nanos
Copy item path
source
·
[
−
]
pub fn ticks_to_nanos(ticks:
u64
) ->
u64
Expand description
Converts hardware ticks to nanoseconds.