UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 20 December 2013 727 of 841
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 user guide
34.2.10.12 WFI
Wait for Interrupt.
34.2.10.12.1 Syntax
WFI{cond}
where:
cond is an optional condition code, see Section 34.2.3.7 “
Conditional execution”.
34.2.10.12.2 Operation
WFI
is a hint instruction that suspends execution until one of the following events occurs:
• an exception
• a Debug Entry request, regardless of whether Debug is enabled.
34.2.10.12.3 Condition flags
This instruction does not change the flags.
34.2.10.12.4 Examples
WFI ; Wait for interrupt