| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PM0222 bảng dữ liệu(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0222 bảng dữ liệu(HTML) 17 Page - STMicroelectronics |
|
17 / 33 page ![]() DocID025476 Rev 1 17/33 PM0222 Flash controller 33 MASSERASE sequence: – Write the MASSERASE command (0x22) in the Flash Controller COMMAND register. – Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt mode) indicating that the command has been taken into account and is under execution. – Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the Flash Controller IRQSTAT register. – Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt mode) indicating that the command is completed. – Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the Flash Controller IRQSTAT register. – After this command, the full main Flash will contain only bits set to ‘1’. 6.2.4 Write function examples The Flash Controller allows writing / programming one word or the full main Flash memory (with a single fixed word). Note: As a write can only program to ‘0’ on bits already set to ‘1’, it is necessary to erase the page and request that the bits be set to ‘1’ (instead of ‘0’) in order to re-write to ‘0’. WRITE sequence: – Indicate the location to write by filling the Flash Controller ADDRESS register with the targeted address (page, row and word number) – Write the value to program in the Flash Controller DATA register. – Write the WRITE command (0x33) in the Flash Controller COMMAND register. – Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt mode) indicating that the command has been taken into account and is under execution. – Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the Flash Controller IRQSTAT register. – Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt mode) indicating that the command is completed. – Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the Flash Controller IRQSTAT register. |
|
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 |
| 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 |