參數(shù)資料
型號(hào): EFM32-TG-STK3300
廠商: Energy Micro
文件頁數(shù): 88/136頁
文件大?。?/td> 0K
描述: KIT STARTER EFM32 GECKO
特色產(chǎn)品: EFM32 Tiny Gecko
標(biāo)準(zhǔn)包裝: 1
系列: EFM®32
類型: MCU
適用于相關(guān)產(chǎn)品: EFM32-TGXXX
所含物品: 板,線纜,CD 和文檔
其它名稱: 914-1018
...the world's most energy friendly microcontrollers
2011-02-04 - d0002_Rev1.00
55
www.energymicro.com
STREXH{cond} Rd, Rt, [Rn]
where:
cond
is an optional condition code, see Section 3.3.7 (p. 43) .
Rd
is the destination register for the returned status.
Rt
is the register to load or store.
Rn
is the register on which the memory address is based.
offset
is an optional offset applied to the value in Rn. If offset is omitted, the address is the value
in Rn.
3.4.8.2 Operation
LDREX
, LDREXB, and LDREXH load a word, byte, and halfword respectively from a memory address.
STREX
, STREXB, and STREXH attempt to store a word, byte, and halfword respectively to a memory
address. The address used in any Store-Exclusive instruction must be the same as the address in the
most recently executed Load-exclusive instruction. The value stored by the Store-Exclusive instruction
must also have the same data size as the value loaded by the preceding Load-exclusive instruction.
This means software must always use a Load-exclusive instruction and a matching Store-Exclusive
instruction to perform a synchronization operation, see Section 2.2.7 (p. 20)
If an Store-Exclusive instruction performs the store, it writes 0 to its destination register. If it does not
perform the store, it writes 1 to its destination register. If the Store-Exclusive instruction writes 0 to the
destination register, it is guaranteed that no other process in the system has accessed the memory
location between the Load-exclusive and Store-Exclusive instructions.
For reasons of performance, keep the number of instructions between corresponding Load-Exclusive
and Store-Exclusive instruction to a minimum.
Note
The result of executing a Store-Exclusive instruction to an address that is different from that
used in the preceding Load-Exclusive instruction is unpredictable.
3.4.8.3 Restrictions
In these instructions:
do not use PC
do not use SP for Rd and Rt
for STREX, Rd must be different from both Rt and Rn
the value of offset must be a multiple of four in the range 0-1020.
3.4.8.4 Condition flags
These instructions do not change the flags.
3.4.8.5 Examples
MOV
R1, #0x1
; Initialize the ‘lock taken’ value
try
LDREX
R0, [LockAddr]
; Load the lock value
CMP
R0, #0
; Is the lock free?
ITT
EQ
; IT instruction for STREXEQ and CMPEQ
STREXEQ R0, R1, [LockAddr]
; Try and claim the lock
CMPEQ
R0, #0
; Did this succeed?
BNE
try
; No – try again
....
; Yes – we have the lock
相關(guān)PDF資料
PDF描述
HSC08DRYH-S13 CONN EDGECARD 16POS .100 EXTEND
TH3D336M016A0600 CAP TANT 33UF 16V 20% 2917
GBA18DTKT-S288 CONN EDGECARD 36POS .125 EXTEND
RSM03DRKN CONN EDGECARD 6POS DIP .156 SLD
GBA22DRMI-S288 CONN EDGECARD 44POS .125 EXTEND
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EFM32TG-STK3300 制造商:Energy Micro AS 功能描述:STARTER KIT STK3300 TINY GEC 制造商:Energy Micro AS 功能描述:STARTER KIT, STK3300, TINY GECKO; Silicon Manufacturer:Energy Micro; Core Architecture:ARM; Core Sub-Architecture:Cortex-M3; Silicon Core Number:EFM32TG840; Silicon Family Name:EFM32; Kit Contents:Starter Kit EFM32TG840; SVHC:No SVHC;RoHS Compliant: Yes
EFM32WG230F128 功能描述:ARM微控制器 - MCU 128kb flash 32kb RAM RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 處理器系列:STM32F373xx 數(shù)據(jù)總線寬度:32 bit 最大時(shí)鐘頻率:72 MHz 程序存儲(chǔ)器大小:256 KB 數(shù)據(jù) RAM 大小:32 KB 片上 ADC:Yes 工作電源電壓:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:LQFP-48 安裝風(fēng)格:SMD/SMT
EFM32WG230F128-QFN64 制造商:Energy Micro AS 功能描述:32 BIT ARM MPU, WONDER GECKO - Tape and Reel 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64QFN
EFM32WG230F128-QFN64T 制造商:Energy Micro AS 功能描述:WONDER GECKO 32 BIT ARM CORTEX MCU - Trays
EFM32WG230F128-QFN64-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64QFN