数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ADE7166 数据表(PDF) 106 Page - Analog Devices

部件名 ADE7166
功能描述  Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
PDF  144 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE7166 数据表(HTML) 106 Page - Analog Devices

Back Button ADE7166 Datasheet HTML 102Page - Analog Devices ADE7166 Datasheet HTML 103Page - Analog Devices ADE7166 Datasheet HTML 104Page - Analog Devices ADE7166 Datasheet HTML 105Page - Analog Devices ADE7166 Datasheet HTML 106Page - Analog Devices ADE7166 Datasheet HTML 107Page - Analog Devices ADE7166 Datasheet HTML 108Page - Analog Devices ADE7166 Datasheet HTML 109Page - Analog Devices ADE7166 Datasheet HTML 110Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 106 / 144 page
background image
ADE7566/ADE7569/ADE7166/ADE7169
Rev. A | Page 106 of 144
Table 98. Flash Read Protection SFR (PROTR, 0xBF)
Bit
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 Memory 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 99. Flash Low Byte Address SFR (EADRL, 0xC6)
Bit
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 Memory 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 100. Flash High Byte Address SFR (EADRH, 0xC7)
Bit
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 Memory 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 8052 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



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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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