Function drone_cortexm::processor::wait_for_event[][src]

pub fn wait_for_event()

Waits for event.

It is a hint instruction. If the Event Register is clear, it suspends execution in the lowest power state available consistent with a fast wakeup without the need for software restoration, until a reset, exception or other event occurs.

See also send_event.