Arm Cortex-M Processor Macro Definition Documentation
SYS_WAIT_FOR_EVENT
#define SYS_WAIT_FOR_EVENT __ASM("wfe")
Location: cortex.h:44
Wait for an event.
| Example Code for SYS_WAIT_FOR_EVENT |
// Stop executing code, put core into low power state, waiting for an event. |
SYS_WAIT_FOR_INTERRUPT
#define SYS_WAIT_FOR_INTERRUPT __ASM("wfi")
Location: cortex.h:50
Wait for an interrupt.
| Example Code for SYS_WAIT_FOR_INTERRUPT |
// Stop executing code, put core into low power state, waiting for an // interrupt. |