Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 170
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
Examples
CPSID i
; Disable interrupts and configurable fault handlers (set PRIMASK)
CPSID f
; Disable interrupts and all fault handlers (set FAULTMASK)
CPSIE i
; Enable interrupts and configurable fault handlers (clear PRIMASK)
CPSIE f
; Enable interrupts and fault handlers (clear FAULTMASK)
12.6.11.3DMB
Data Memory Barrier.
Syntax
DMB{cond}
where:
cond
Operation
DMB acts as a data memory barrier. It ensures that all explicit memory accesses that appear, in program order, before
the DMB instruction are completed before any explicit memory accesses that appear, in program order, after the DMB
instruction. DMB does not affect the ordering or execution of instructions that do not access memory.
Condition Flags
This instruction does not change the flags.
Examples
    DMB  ; Data Memory Barrier 
12.6.11.4DSB
Data Synchronization Barrier.
Syntax
DSB{cond}
where:
cond
Operation
DSB acts as a special data synchronization memory barrier. Instructions that come after the DSB, in program order, do
not execute until the DSB instruction completes. The DSB instruction completes when all explicit memory accesses
before it complete.
Condition Flags
This instruction does not change the flags.
Examples
    DSB ; Data Synchronisation Barrier 
12.6.11.5ISB
Instruction Synchronization Barrier.
Syntax
ISB{cond}
where:
cond
Operation