Function axhal::time::set_oneshot_timer
source · pub fn set_oneshot_timer(deadline_ns: u64)
Available on crate feature
irq
only.Expand description
Set a one-shot timer.
A timer interrupt will be triggered at the given deadline (in nanoseconds).