SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 150

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
11.18.10 SVC
11.18.10.1
11.18.10.2
11.18.10.3
11.18.10.4
11.18.11 WFE
11.18.11.1
11.18.11.2
11.18.11.3
11.18.11.4
150
150
SVC
WFE
SAM3X/A
SAM3X/A
Syntax
Operation
Condition flags
Examples
Syntax
Operation
Condition flags
Examples
0x32
; Wait for event
; Supervisor Call (SVC handler can extract the immediate value
; by locating it via the stacked PC)
Supervisor Call.
where:
cond
imm
The SVC instruction causes the SVC exception.
imm is ignored by the processor. If required, it can be retrieved by the exception handler to
determine what service is being requested.
This instruction does not change the flags.
Wait For Event.
where:
cond
WFE is a hint instruction.
If the event register is 0, WFE suspends execution until one of the following events occurs:
If the event register is 1, WFE clears it to 0 and returns immediately.
For more information see
This instruction does not change the flags.
• 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.
SVC{cond} #imm
WFE{cond}
is an optional condition code, see
is an expression evaluating to an integer in the range 0-255 (8-bit value).
is an optional condition code, see
“Power management” on page
“Conditional execution” on page
“Conditional execution” on page
85.
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
96.
96.

Related parts for SAM3X8E