__WFI macro
Wait For Interrupt Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs.
Syntax
#define __WFI() __ASM volatile ("wfi":::"memory")
Examples
__WFI is referenced by 6 libraries and example projects: