SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 144

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
11.18.2
11.18.2.1
11.18.2.2
11.18.2.3
11.18.2.4
11.18.2.5
144
144
CPSID i
CPSID f
CPSIE i
CPSIE f
SAM3X/A
SAM3X/A
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 62
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.
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
“Exception mask

Related parts for SAM3X8E