参数资料
型号: EFM32G842F128
厂商: Energy Micro
文件页数: 88/136页
文件大小: 0K
描述: IC MCU 32BIT 128KB FLASH 64LQFP
标准包装: 1
系列: Gecko
核心处理器: ARM? Cortex?-M3
芯体尺寸: 32-位
速度: 32MHz
连通性: I²C,IrDA,智能卡,SPI,UART/USART
外围设备: 欠压检测/复位,DMA,LCD,POR,PWM,WDT
输入/输出数: 53
程序存储器容量: 128KB(128K x 8)
程序存储器类型: 闪存
RAM 容量: 16K x 8
电压 - 电源 (Vcc/Vdd): 1.8 V ~ 3.8 V
数据转换器: A/D 8x12b,D/A 2x12b
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 64-TQFP
包装: 标准包装
其它名称: 914-1028-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描述
LPC11U24FET48/301, MCU USB 48TFBGA
5787761-6 CONN RCPT USB TYPE A PCB R/A
5787761-3 CONN RCPT USB TYPE A PCB R/A
1-1939054-2 CONN PLUG MICRO USB B SOLDER
1-1939054-1 CONN PLUG MICRO USB B SOLDER
相关代理商/技术参数
参数描述
EFM32G842F128G-E-QFP64 功能描述:128K FLASH, 16K RAM, 4X22 LCD, A 制造商:silicon labs 系列:Gecko 包装:托盘 零件状态:在售 核心处理器:ARM? Cortex?-M3 核心尺寸:32-位 速度:32MHz 连接性:I2C,IrDA,智能卡,SPI,UART/USART 外设:欠压检测/复位,DMA,LCD,POR,PWM,WDT I/O 数:53 程序存储容量:128KB(128K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:16K x 8 电压 - 电源(Vcc/Vdd):1.98 V ~ 3.8 V 数据转换器:A/D 8x12b,D/A 2x12b 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:64-TQFP 供应商器件封装:64-TQFP(10x10) 标准包装:160
EFM32G842F128-QFP64 制造商:Energy Micro AS 功能描述:GECKO MCU - Tape and Reel 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64TQFP
EFM32G842F128-QFP64T 制造商:Energy Micro AS 功能描述:32 BIT ARM MPU, GECKO - Trays
EFM32G842F128-QFP64-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64TQFP
EFM32G842F128-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64TQFP