
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
694 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
2.10.11 WFE
Wait For Event.
2.10.11.1
Syntax
WFE{
cond
}
where:
cond
is an optional condition code, see
Section 34–2.3.7 “Conditional execution”
2.10.11.2
Operation
WFE
is a hint instruction.
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
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 returns immediately.
For more information see
Section 35–1.5 “Power management”
2.10.11.3
Condition flags
This instruction does not change the flags.
2.10.11.4
Examples
WFE
; Wait for event