công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2692 bảng dữ liệu(PDF) 13 Page - STMicroelectronics

tên linh kiện AN2692
Giải thích chi tiết về linh kiện  How to program/reprogram the ST10F269Zx Flash memory
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2692 bảng dữ liệu(HTML) 13 Page - STMicroelectronics

Back Button AN2692 Datasheet HTML 9Page - STMicroelectronics AN2692 Datasheet HTML 10Page - STMicroelectronics AN2692 Datasheet HTML 11Page - STMicroelectronics AN2692 Datasheet HTML 12Page - STMicroelectronics AN2692 Datasheet HTML 13Page - STMicroelectronics AN2692 Datasheet HTML 14Page - STMicroelectronics AN2692 Datasheet HTML 15Page - STMicroelectronics AN2692 Datasheet HTML 16Page - STMicroelectronics AN2692 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 29 page
background image
AN2692
Writing code for the ST10F269Zx with 0.35 µm embedded Flash
13/29
2.2.2
Flash memory Status Register
The Flash memory Status Register is described in Section 1.2.3: Same Flash memory
Status Register.
This method of polling the ST10F269Zx embedded Flash memory is recommended and
used in the code examples in this document. There is another method to verify the
completion of a Flash memory operation, it is called the “data polling flow”. It uses the
Toggle bit of the Flash Status Register. The algorithm is described in the figure below.
Figure 1.
Data polling flow
The two read accesses to the Flash memory Status Register must be made consecutively.
The following sequence must be executed:
EXTS
Ra, #1
;use EXTended addressing for next MOV instruction
MOV
Ry, [Rx]
;read Flash Status register (FSB) in Ry
EXTS
Ra, #1 ;use EXTended addressing mode for next MOV instruction
MOV
Rz, [Rx] ;read Flash Status register (FSB) in Rz
Then, the Rz and Ry registers are compared to check the toggling of
the bit.
Start
Read FSB.2, FSB.5, FSB.6 bits
FSB.2, FSB.6
toggle?
FSB.5 = 1?
Read FSB.2, FSB.5, FSB.6 bits
FSB.2, FSB.6
toggle?
Yes
Yes
Yes
No
No
Fail
Pass
No
ai14876



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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