参数资料
型号: EFM32G222F128
厂商: Energy Micro
文件页数: 88/136页
文件大小: 0K
描述: IC MCU 32BIT 128KB FLASH 48LQFP
特色产品: EFM32 Gecko
标准包装: 1
系列: Gecko
核心处理器: ARM? Cortex?-M3
芯体尺寸: 32-位
速度: 32MHz
连通性: I²C,IrDA,智能卡,SPI,UART/USART
外围设备: 欠压检测/复位,DMA,POR,PWM,WDT
输入/输出数: 37
程序存储器容量: 128KB(128K x 8)
程序存储器类型: 闪存
RAM 容量: 16K x 8
电压 - 电源 (Vcc/Vdd): 1.8 V ~ 3.8 V
数据转换器: A/D 4x12b,D/A 1x12b
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 48-TQFP
包装: 标准包装
其它名称: 914-1027-6
...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
相关PDF资料
PDF描述
XM4M-2932-5012 CONN DVI 29POS 1.5A DIGTL/ANALOG
C8051F230-GQ IC 8051 MCU 8K FLASH 48TQFP
C8051F544-IQ IC 8051 MCU 8K FLASH 32-QFP
C8051F317-GM IC 8051 MCU FLASH 16KB 24QFN
3-1747981-1 CONN RECPT HDMI SMT R/A W/FLNG
相关代理商/技术参数
参数描述
EFM32G222F128G-E-QFP48R 功能描述:128K FLASH, 16K RAM, AES 制造商:silicon labs 系列:Gecko 包装:剪切带(CT) 零件状态:在售 核心处理器:ARM? Cortex?-M3 核心尺寸:32-位 速度:32MHz 连接性:I2C,IrDA,智能卡,SPI,UART/USART 外设:欠压检测/复位,DMA,POR,PWM,WDT I/O 数:37 程序存储容量:128KB(128K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:16K x 8 电压 - 电源(Vcc/Vdd):1.98 V ~ 3.8 V 数据转换器:A/D 4x12b,D/A 1x12b 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:48-TQFP 供应商器件封装:48-TQFP(7x7) 标准包装:1
EFM32G222F128-QFP48 制造商:Energy Micro AS 功能描述:GECKO MCU - Tape and Reel 制造商:Energy Micro AS 功能描述:GECKO MCU - Cut TR (SOS) 制造商:Energy Micro 功能描述:Energy Micro As EFM32G222F128-QFP48 Microcontrollers (MCU) 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 48TQFP
EFM32G222F128-QFP48T 制造商:Energy Micro AS 功能描述:32 BIT ARM MPU, GECKO - Trays
EFM32G222F128-QFP48-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 48TQFP
EFM32G222F128-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 48TQFP