| Datenblatt-Suchmaschine für elektronische Bauteile |
|
EM78F651NAMS/NAMJ Datenblatt(PDF) 37 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78F651NAMS/NAMJ Datenblatt(HTML) 37 Page - ELAN Microelectronics Corp |
|
37 / 58 page ![]() EM78F651N 8-Bit Microcontroller Product Specification (V1.1) 10.20.2006 • 33 (This specification is subject to change without further notice) Bit 5 :EEPROM Write Enable bit 0 : Prohibit write to the EEPROM 1 : Allows EEPROM write cycles. Bit 4 :EEPROM Detect Flag 0 : Write cycle is completed 1 : Write cycle is unfinished Bit 3 :EEPROM power-down control bit 0 : Switch off the EEPROM 1 : EEPROM is operating Bits 2 ~ 0: Not used, set to “0” at all time 6.8.1.2 RC (128 Bytes EEPROM Address) When accessing the EEPROM data memory, the RC (128 bytes EEPROM address register) holds the address to be accessed. According the operation, the RD (128 bytes EEPROM Data register) holds the data to written, or the data read, at the address in RC. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 - EE_A6 EE_A5 EE_A4 EE_A3 EE_A2 EE_A1 EE_A0 Bit 7 : Not used, fixed at “0”. Bits 6 ~ 0 : 128 bytes EEPROM address 6.8.1.3 RD (128 Bytes EEPROM Data) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EE_D7 EE_D6 EE_D5 EE_D4 EE_D3 EE_D2 EE_D1 EE_D0 Bits 7 ~ 0 : 128 bytes EEPROM data 6.8.2 Programming Step / Example Demonstration 6.8.2.1 Programming Step Follow these steps to write or read data from the EEPROM: (1) Set the RC.EEPC bit to 1 for enable EEPROM power. (2) Write the address to RC (128 bytes EEPROM address). a.1. Set the RC.EEWE bit to 1, if the write function is employed. a.2. Write the 8-bit data value to be programmed in the RD (128 bytes EEPROM data) a.3. Set the RC.WR bit to 1, then execute write function b. Set the RC.READ bit to 1, after which, execute read function (3) a. Wait for the RC.EEDF or RC.WR to be cleared b. Wait for the RC.EEDF to be cleared (4) For the next conversion, go to Step 2 as required. (5) If user wants to save power and to make sure the EEPROM data is not used, clear the RC.EEPC. |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |