| поискавой системы для электроныых деталей |
|
HT67F60 датащи(PDF) 52 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F60 датащи(HTML) 52 Page - Holtek Semiconductor Inc |
|
52 / 242 page ![]() Rev. 1.50 52 March 06 , 2012 Rev. 1.50 53 March 06 , 2012 HT67F30/HT67F40/HT67F50/HT67F60 TinyPowerTM A/D Flash Type 8-Bit MCU with LCD & EEPRO Programming Considerations Care must be taken that data is not inadvertently written to the EEPROM. Protection can be enhanced by ensuring that the Write Enable bit is normally cleared to zero when not writing. Also the Bank Pointer could be normally cleared to zero as this would inhibit access to Bank 1 where the EEPROM control register exist. Although certainly not necessary, consideration might be given in the application program to the checking of the validity of new write data by a simple read back process. Programming Examples ● Reading data from the EEPROM – polling method MOV A,EEPROM_ADRES ;userdefinedaddress MOV EEA,A MOV A,040H ;setupmemorypointerMP1 MOV MP1,A ;MP1pointstoEECregister MOV A,01H ;setupBankPointer MOV BP,A SET IAR1.1 ;setRDENbit,enablereadoperations SET IAR1.0 ;startReadCycle-setRDbit BACK: SZ IAR1.0 ;checkforreadcycleend JMP BACK CLR IAR1 ;disableEEPROMread/write CLR BP MOV A,EEDATA ;movereaddatatoregister MOV READ_DATA,A ● Writing Data to the EEPROM – polling method MOV A,EEPROM_ADRES ;userdefinedaddress MOV EEA,A MOV A,EEPROM_DATA ;userdefineddata MOV EED,A MOV A,040H ;setupmemorypointerMP1 MOV MP1,A ;MP1pointstoEECregister MOV A,01H ;setupBankPointer MOV BP,A SET IAR1.3 ;setWRENbit,enablewriteoperations SET IAR1.2 ;startWriteCycle-setWRbit BACK: SZ IAR1.2 ;checkforwritecycleend JMP BACK CLR IAR1 ;disableEEPROMread/write CLR BP |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |