English
Language : 

MDT10F73 Datasheet, PDF (14/23 Pages) Micon Design Technology Corporation – 8-bit micro-controller
(42) 9AH : EEPROM data register.
(43) 9BH : EEPROM address register.
MDT10F73
(44) 9CH : EEPROM control register 1.
Bit Symbol
Function
Read Control Bit.
0 = Does not initiate an EEPROM read.
0
RD
1 = Initiates an EEPROM read (read takes once cycle. RD is cleared in
hardware. The RD bit can only be set (not clear) in software.)
Write Control Bit.
0 = Write cycle to the data EEPROM is complete
1
WR
1 = Initiates a write cycle. (The bit is cleared by hardware once write is
complete. The WR bit can only be set (not clear) in software.)
EEPROM Write Enable Bit.
2
WREN
0 = Inhibits write to the data EEPROM
1 = Allows write cycles
EEPROM Write Error Flag Bit.
0 = The EEPROM write operation completed
3
WRERR
1 = The EEPROM write operation is prematurely terminated
(any MCLR reset or any WDT reset during normal operation)
(45) 9DH : EEPROM control register 2.
Write only ; Read as “0”
When write data to the EEPROM must write 55/H to EECCON2, and writ AA/H to
EECCON2 then set WR bit; the EEPROM can write data inside for write each byte.
Example : Data EEPROM Write
BSR
BCR
BSR
LDWI
STWR
LDWI
STWR
BSR
STATUS,PAGE
INTS,GIS
EECON1,WREN
55H
EECON2
0AAH
EECON2
EECON1,WR
;Select bank1
;Disable interrupt
;Enable write
;Write 55/H
;Write AA/H
;Begin write
P. 14
2011/05 Ver. 1.0