參數(shù)資料
型號: EFM32G232F128
廠商: Energy Micro
文件頁數(shù): 51/136頁
文件大?。?/td> 0K
描述: IC MCU 32BIT 128KB FLASH 64LQFP
標準包裝: 1
系列: Gecko
核心處理器: ARM? Cortex?-M3
芯體尺寸: 32-位
速度: 32MHz
連通性: I²C,IrDA,智能卡,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復位,DMA,POR,PWM,WDT
輸入/輸出數(shù): 53
程序存儲器容量: 128KB(128K x 8)
程序存儲器類型: 閃存
RAM 容量: 16K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 3.8 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x12b,D/A 1x12b
振蕩器型: 外部
工作溫度: -40°C ~ 85°C
封裝/外殼: 64-TQFP
包裝: 標準包裝
其它名稱: 914-1026-6
...the world's most energy friendly microcontrollers
2011-02-04 - d0002_Rev1.00
21
www.energymicro.com
the word instructions LDREX and STREX
the halfword instructions LDREXH and STREXH
the byte instructions LDREXB and STREXB.
Software must use a Load-Exclusive instruction with the corresponding Store-Exclusive instruction.
To perform a guaranteed read-modify-write of a memory location, software must:
1. Use a Load-Exclusive instruction to read the value of the location.
2. Update the value, as required.
3. Use a Store-Exclusive instruction to attempt to write the new value back to the memory location, and
tests the returned status bit. If this bit is:
0
The read-modify-write completed successfully,
1
No write was performed. This indicates that the value returned at step 1 (p. 21) might be out
of date. The software must retry the read-modify-write sequence,
Software can use the synchronization primitives to implement a semaphores as follows:
1. Use a Load-Exclusive instruction to read from the semaphore address to check whether the
semaphore is free.
2. If the semaphore is free, use a Store-Exclusive to write the claim value to the semaphore address.
3. If the returned status bit from step 2 (p. 21) indicates that the Store-Exclusive succeeded then the
software has claimed the semaphore. However, if the Store-Exclusive failed, another process might
have claimed the semaphore after the software performed step 1 (p. 21) .
The Cortex-M3 includes an exclusive access monitor, that tags the fact that the processor has executed
a Load-Exclusive instruction.
The processor removes its exclusive access tag if:
It executes a CLREX instruction
It executes a Store-Exclusive instruction, regardless of whether the write succeeds.
An exception occurs. This means the processor can resolve semaphore conflicts between different
threads.
For more information about the synchronization primitive instructions, see Section 3.4.8 (p. 54) and
2.2.8 Programming hints for the synchronization primitives
ANSI C cannot directly generate the exclusive access instructions. Some C compilers provide intrinsic
functions for generation of these instructions:
Table 2.14. C compiler intrinsic functions for exclusive access instructions
Instruction
Intrinsic function
LDREX
, LDREXH, or
LDREXB
unsigned int __ldrex(volatile void *ptr)
STREX
, STREXH, or
STREXB
int __strex(unsigned int val, volatile
void *ptr)
CLREX
void __clrex(void)
The actual exclusive access instruction generated depends on the data type of the pointer passed to
the intrinsic function. For example, the following C code generates the require LDREXB operation:
相關(guān)PDF資料
PDF描述
VI-B1B-IY-F2 CONVERTER MOD DC/DC 95V 50W
MAX392ESE+T IC SWITCH QUAD SPST 16SOIC
VI-B1B-IY-F1 CONVERTER MOD DC/DC 95V 50W
MAX392CUE+T IC SWITCH QUAD SPST 16TSSOP
VI-2WZ-IY-F3 CONVERTER MOD DC/DC 2V 20W
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EFM32G232F128G-E-QFP64R 功能描述:128K FLASH, 16K RAM, AES 制造商:silicon labs 系列:Gecko 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:ARM? Cortex?-M3 核心尺寸:32-位 速度:32MHz 連接性:I2C,IrDA,智能卡,SPI,UART/USART 外設(shè):欠壓檢測/復位,DMA,POR,PWM,WDT I/O 數(shù):53 程序存儲容量:128KB(128K x 8) 程序存儲器類型:閃存 EEPROM 容量:- RAM 容量:16K x 8 電壓 - 電源(Vcc/Vdd):1.98 V ~ 3.8 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x12b,D/A 1x12b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 85°C(TA) 封裝/外殼:64-TQFP 供應(yīng)商器件封裝:64-TQFP(10x10) 標準包裝:1
EFM32G232F128-QFP64 制造商:Energy Micro AS 功能描述:GECKO MCU - Tape and Reel 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64TQFP
EFM32G232F128-QFP64T 制造商:Energy Micro AS 功能描述:32 BIT ARM MPU, GECKO - Trays
EFM32G232F128-QFP64-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64TQFP
EFM32G232F128-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64TQFP