core::arch::arm

Function __wfi

Source
pub unsafe fn __wfi()
🔬This is a nightly-only experimental API. (stdarch_arm_hints #117218)
Available on ARM only.
Expand description

Generates a WFI (wait for interrupt) hint instruction, or nothing.

The WFI instruction allows (but does not require) the processor to enter a low-power state until one of a number of asynchronous events occurs.