Datasheet

151
SAM3X / SAM3A [DATASHEET]
Atmel-11057C-ATARM-SAM3X-SAM3A-Datasheet_23-Mar-15
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 91.
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