| 数据搜索系统,热门电子元器件搜索 |
|
T89C51RD2-RDTIM 数据表(PDF) 51 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
T89C51RD2-RDTIM 数据表(HTML) 51 Page - ATMEL Corporation |
|
51 / 104 page ![]() 51 T89C51RD2 4243G–8051–05/03 Read Data The following procedure is used to read the data store in the EEPROM memory: • Map the program space (Set bit EEE of EECON register) • Load DPTR with the address to read • Execute a MOVX A, @DPTR Example : ... ; DPTR = EEPROM data pointer MOV EECON,#02h ; EEE=1 EEPROM mapped MOVX A,@DPTR ; Read data from EEPROM ... ; A = Data Registers Table 32. EECON Register EECON (S:0D2h) EEPROM Control Register Reset Value = XXXX XX00b 7654 3210 EEPL3 EEPL2 EEPL1 EEPL0 - - EEE EEBUSY Bit Number Bit Mnemonic Description 7-4 EEPL3-0 Programming Launch command bits Write 5Xh followed by AXh to EECON to launch the programming. 3 - Not implemented, reserved for future use. (1) 1. User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features. In that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate. 2 - Not implemented, reserved for future use. (2) 2. User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features. In that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate. 1EEE Enable EEPROM Space bit Set to map the EEPROM space during MOVX instructions (Write in the column latches) Clear to map the data space during MOVX. 0EEBUSY Programming Busy flag Set by hardware when programming is in progress. Cleared by hardware when programming is done. Can not be set or cleared by software. |
|
链接网址 |
| 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 |