Skip to main content

ax_hal/
time.rs

1//! Time-related operations.
2
3pub use ax_plat::time::{
4    Duration, MICROS_PER_SEC, MILLIS_PER_SEC, NANOS_PER_MICROS, NANOS_PER_MILLIS, NANOS_PER_SEC,
5    TimeValue, busy_wait, busy_wait_until, current_ticks, epochoffset_nanos, monotonic_time,
6    monotonic_time_nanos, nanos_to_ticks, ticks_to_nanos, wall_time, wall_time_nanos,
7};
8#[cfg(feature = "irq")]
9pub use ax_plat::time::{irq_num, set_oneshot_timer};