| 전자부품 데이터시트 검색엔진 |
|
AN2540 데이터시트(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2540 데이터시트(HTML) 11 Page - STMicroelectronics |
|
11 / 25 page ![]() AN2540 - Application note Implementing the EEPROM emulation 11/25 Figure 3. Sector swap scheme: Sector0 erased 3.2.2 EEPROM software description This section describes the driver implemented for EEPROM emulation using the STR91xFxx Flash library provided by STMicroelectronics. A demonstration program is also supplied to demonstrate and test the EEPROM Emulation driver using the three variables A, B and C already defined. The project contains three source files in addition to the FMI library source files: ● eeprom.c: containing C code for the following routines: EepromFormat() WriteVariable() ReadVariable() FindValidSector() WriteVerifyVariableFull() EepromSectorTransfer() ● eeprom.h: Containing the routines’ prototypes and some declarations. ● main.c: This application program is an example using the routines described in eeprom.c. A(t) values B(t) values C(t) values 0x0000 0000 0x0000 1FFF A(t0) B(t0) C(t0) Sector0 Erased Sector1 Header A(t) values B(t) values C(t) values 0x0000 2000 0x0000 3FFF Sector1 Update Update Update Sector swap (Erase one when using the other) A(t0 + tA) A(t0 + n × tA) B(t0 + m × tB) C(t0 + p × tC) Sector0 Header 0 A(t + (n + 1) × tA) B(t0 + m × tB) 0 C(t + p × tC) ai14087 |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |