Function esp32c3_hal::riscv::asm::wfi

pub unsafe fn wfi()
Expand description

WFI instruction wrapper

Provides a hint to the implementation that the current hart can be stalled until an interrupt might need servicing. The WFI instruction is just a hint, and a legal implementation is to implement WFI as a NOP.