UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
484 of 523
NXP Semiconductors
UM10462
Chapter 24: LPC11U3x/2x/1x Appendix ARM Cortex-M0
•
an exception, unless masked by the exception mask registers or the current priority
level
•
an exception enters the Pending state, if SEVONPEND in 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 SEV instruction.
If the event register is 1, WFE clears it to 0 and completes immediately.
For more information see
.
Remark:
WFE is intended for power saving only. When writing software assume that WFE
might behave as NOP.
24.4.7.11.3
Restrictions
There are no restrictions.
24.4.7.11.4
Condition flags
This instruction does not change the flags.
24.4.7.11.5
Examples
WFE ; Wait for event
24.4.7.12 WFI
Wait for Interrupt.
24.4.7.12.1
Syntax
WFI
24.4.7.12.2
Operation
WFI
suspends execution until one of the following events occurs:
•
an exception
•
an interrupt becomes pending which would preempt if PRIMASK was clear
•
a Debug Entry request, regardless of whether debug is enabled.
Remark:
WFI is intended for power saving only. When writing software assume that WFI
might behave as a NOP operation.
24.4.7.12.3
Restrictions
There are no restrictions.
24.4.7.12.4
Condition flags
This instruction does not change the flags.