Datasheet

149
11011B–ATARM–21-Feb-12
SAM3N
10.18.12 WFI
Wait for Interrupt.
10.18.12.1 Syntax
WFI{cond}
where:
cond is an optional condition code, see “Conditional execution” on page 84.
10.18.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.
10.18.12.3 Condition flags
This instruction does not change the flags.
10.18.12.4 Examples
WFI ; Wait for interrupt