English
Language : 

MC68HC08AS20 Datasheet, PDF (67/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
EERAS1–EERAS0 — EEPROM Erase Bits
These read/write bits set the programming/erasing modes. Reset
clears these bits.
Table 6-3. EEPROM Program/Erase Mode Select
EEBPx
0
0
0
0
1
X = don’t care
EERAS1
0
0
1
1
X
EERA0
0
1
0
1
X
MODE
Byte Program
Byte Erase
Block Erase
Bulk Erase
No Erase/Program
EELAT — EEPROM Latch Control Bit
This read/write bit latches the address and data buses for
programming the EEPROM array. EELAT cannot be cleared if
EEPGM is still set. Reset clears this bit.
1 = Buses configured for EEPROM programming
0 = Buses configured for normal read operation
EEPGM — EEPROM Program/Erase Enable Bit
This read/write bit enables the internal charge pump and applies the
programming/erasing voltage to the EEPROM array if the EELAT bit
is set and a write to a valid EEPROM location has occurred. Reset
clears the EEPGM bit.
1 = EEPROM programming/erasing power switched on
0 = EEPROM programming/erasing power switched off
NOTE:
Writing logic 0s to both the EELAT and EEPGM bits with a single
instruction will clear only EEPGM. This is to allow time for the removal of
high voltage.
MC68HC08AS20 — Rev. 4.1
Freescale Semiconductor
Advance Information
67