Function kernel_hal::interrupt::wait_for_interrupt
source · [−]pub fn wait_for_interrupt()
Expand description
Suspend the CPU (also enable interrupts) and wait for an interrupt to occurs, then disable interrupts.
pub fn wait_for_interrupt()
Suspend the CPU (also enable interrupts) and wait for an interrupt to occurs, then disable interrupts.