Wait For Event.
If the event register is 0,
WFE suspends execution
until one of the following events occurs:
an exception, unless masked by the exception mask registers or the current priority level
an exception enters the Pending state, if
SEVONPENDin the System Control Register is set
a Debug Entry request, if debug is enabled
an event signaled by a peripheral or another processor in a multiprocessor system using the
If the event register is 1,
WFE clears it to
0 and completes immediately.
For more information see Power management.
WFE is intended for power saving only. When writing
software assume that
WFE might behave as