English
Language : 

MC68HC05B6_13 Datasheet, PDF (259/302 Pages) Freescale Semiconductor, Inc – Microcontrollers
E6LAT — EPROM programming latch enable bit
Preliminary 1 (set)
– Address and up to sixteen data bytes can be latched into the EPROM
for further programming providing the E6PGM bit is cleared. When
programming the EPROM, all other 15 addresses must be latched
with the erased state ($00) or corruption may occur.
0 (clear) – Data can be read from the EPROM or firmware ROM; the E6PGM bit
is reset to zero when E6LAT is ‘0’.
STOP, power-on and external reset clear the E6LAT bit.
Note:
After the tERA1 erase time or tPROG1 programming time, the E6LAT bit has to be reset
to zero in order to clear the E6PGM bit.
E6PGM — EPROM program enable bit
This bit is the EPROM program enable bit. It can be set to ‘1’ to enable programming only after
Preliminary E6LAT is set and at least one byte is written to the EPROM. It is not possible to clear this bit using
software but clearing E6LAT will always clear E6PGM.
Table H-2 EPROM control bits description
E6LAT
0
1
1
E6PGM
Description
0 Read/execute in EPROM
0 Ready to write address/data to EPROM
1 programming in progress
Note:
All combinations are not shown in the above table, since the E6PGM bit is cleared when
the E6LAT bit is at zero, and will result in a read condition.
Preliminary ECLK
See Section 4.3.
E1ERA — EEPROM erase/programming bit
Providing the E1LAT and E1PGM bits are at logic one, this bit indicates whether the access to the
EEPROM is for erasing or programming purposes.
1 (set) – An erase operation will take place.
0 (clear) – A programming operation will take place.
Once the program/erase EEPROM address has been selected, E1ERA cannot be changed.
14
MC68HC05B6
Rev. 4.1
MC68HC705B32
Freescale
H-9