# Function core::arch::arm::__wfi

source · [−]

    pub unsafe fn __wfi()

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported 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.