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