SAM3N0A Atmel Corporation, SAM3N0A Datasheet - Page 139

no-image

SAM3N0A

Manufacturer Part Number
SAM3N0A
Description
Manufacturer
Atmel Corporation
Datasheets
10.18.2
10.18.2.1
10.18.2.2
10.18.2.3
10.18.2.4
10.18.2.5
11011A–ATARM–04-Oct-10
CPSID i
CPSID f
CPSIE i
CPSIE f
CPS
Syntax
Operation
Restrictions
Condition flags
Examples
; Disable interrupts and configurable fault handlers (set PRIMASK)
; Disable interrupts and all fault handlers (set FAULTMASK)
; Enable interrupts and configurable fault handlers (clear PRIMASK)
; Enable interrupts and fault handlers (clear FAULTMASK)
Change Processor State.
where:
effect
iflags
CPS changes the PRIMASK and FAULTMASK special register values. See
registers” on page 49
The restrictions are:
This instruction does not change the condition flags.
• use CPS only from privileged software, it has no effect if used in unprivileged software
• CPS cannot be conditional and so must not be used inside an IT block.
CPSeffect iflags
IE
ID
i
f
is one of:
Clears the special purpose register.
Sets the special purpose register.
is a sequence of one or more flags:
Set or clear PRIMASK.
Set or clear FAULTMASK.
for more information about these registers.
“Exception mask
SAM3N
139

Related parts for SAM3N0A