WFI
Wait for Interrupt
WFI
Provides a hint to the implementation that the current hart can be stalled until an interrupt occurs.
Details
WFI (Wait For Interrupt) provides a hint to the implementation that the current hart can be stalled until an interrupt might need servicing. Implementations may simply implement WFI as NOP.
Pseudocode Operation
while(!Interrupt) { /* low power state */ }
Example
WFI
Encoding
Binary Layout
00010000010100000000000001110011
31:0