pub fn wait_for_interrupt()
Expand description

Suspend the CPU (also enable interrupts) and wait for an interrupt to occurs, then disable interrupts.