| データシートサーチシステム |
|
ADE7569ASTZF162 データシート(PDF) 97 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7569ASTZF162 データシート(HTML) 97 Page - Analog Devices |
|
97 / 136 page ![]() Preliminary Technical Data ADE7566/ADE7569 Rev. PrA | Page 97 of 136 Table 94. Flash Read Protection SFR (PROTR, 0xBF) Bit No. Mnemonic Default Description 7 to 0 PROTR 0xFF This SFR is used to write the read protection bits for Page 0 to Page 31 of the flash memory (see the Protecting the Flash section). Clearing the bits enables the protection. PROTR.7 PROTR.6 PROTR.5 PROTR.4 PROTR.3 PROTR.2 PROTR.1 PROTR.0 Page 28 to Page 31 Page 24 to Page 27 Page 20 to Page 23 Page 16 to Page 19 Page 12 to Page 15 Page 8 to Page 11 Page 4 to Page 7 Page 0 to Page 3 Table 95. Flash Low Byte Address SFR (EADRL, 0xC6) Bit No. Mnemonic Default Description 7 to 0 EADRL 0 Flash Pointer Low Byte Address. This SFR is also used to write the write/erase protection bits for Page 16 to Page 23 of the flash memory (see the Protecting the Flash section). Clearing the bits enables the protection. EADRL.7 EADRL.6 EADRL.5 EADRL.4 EADRL.3 EADRL.2 EADRL.1 EADRL.0 Page 23 Page 22 Page 21 Page 20 Page 19 Page 18 Page 17 Page 16 Table 96. Flash High Byte Address SFR (EADRH, 0xC7) Bit No. Mnemonic Default Description 7 to 0 EADRH 0 Flash Pointer High Byte Address. This SFR is also used to write the write/erase protection bits for Page 24 to Page 31 of the flash memory (see the Protecting the Flash section). Clearing the bits enables the protection. EADRH.7 EADRH.6 EADRH.5 EADRH.4 EADRH.3 EADRH.2 EADRH.1 EADRH.0 Page 31 Page 30 Page 29 Page 28 Page 27 Page 26 Page 25 Page 24 Flash Functions Sample 8051 code is provided in this section to demonstrate how to use the flash functions. For these examples, the byte of flash memory 0x3C00 is accessed. Write Byte Write 0xF3 into flash memory byte 0x3C00. MOV EDATA, #F3h ; Data to be written MOV EADRH, #3Ch ; Setup byte address MOV EADRL, #00h MOV FLSHKY, #3Bh ; Write Flash security key. MOV ECON, #01H ; Write Byte Erase Page Erase the page containing flash memory byte 0x3C00. MOV EADRH, #3Ch ; Select page through byte address MOV EADRL, #00h MOV FLSHKY, #3Bh ; Write Flash security key. MOV ECON, #02H ; Erase Page Erase All Erase all of the 16 kB flash memory. MOV FLSHKY, #3Bh ; Write Flash security key. MOV ECON, #03H ; Erase All Read Byte Read flash memory byte 0x3C00. MOV EADRH, #3Ch ; Setup byte address MOV EADRL, #00h MOV FLSHKY, #3Bh ; Write Flash security key. MOV ECON, #04H ; Read Byte ; Data is ready in EDATA register Erase Page and Write Byte Erase the page containing flash memory byte 0x3C00 and then write 0xF3 to that address. Note that the other 511 bytes in this page are erased. MOV EDATA, #F3h ; Data to be written MOV EADRH, #3Ch ; Setup byte address MOV EADRL, #00h MOV FLSHKY, #3Bh ; Write Flash security key. MOV ECON, #05H ; Erase page and then write byte |
|
リンク 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 |