Datasheet

EEPROM-2 Memory
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
92 Freescale Semiconductor
7.5 EEPROM-2 Register Descriptions
Four I/O registers and three nonvolatile registers control program, erase and options of the EEPROM-2
array.
7.5.1 EEPROM-2 Control Register
This read/write register controls programming/erasing of the array.
Bit 7— Unused bit
This read/write bit is software programmable but has no functionality.
EEOFF — EEPROM-2 power down
This read/write bit disables the EEPROM-2 module for lower power consumption. Any attempts to
access the array will give unpredictable results. Reset clears this bit.
1 = Disable EEPROM-2 array
0 = Enable EEPROM-2 array
EERAS1 and EERAS0 — Erase/Program Mode Select Bits
These read/write bits set the erase modes. Reset clears these bits.
EELAT — EEPROM-2 Latch Control
This read/write bit latches the address and data buses for programming the EEPROM-2 array. EELAT
cannot be cleared if EEPGM is still set. Reset clears this bit.
1 = Buses configured for EEPROM-2 programming or erase operation
0 = Buses configured for normal operation
Address: $FF7D
Bit 7654321Bit 0
Read:
UNUSED
0
EEOFF EERAS1 EERAS0 EELAT AUTO EEPGM
Write:
Reset:00000000
= Unimplemented
Figure 7-2. EEPROM-2 Control Register (EE2CR)
Table 7-3. EEPROM-2 Program/Erase Mode Select
EEBPx EERAS1 EERAS0 MODE
0 0 0 Byte Program
0 0 1 Byte Erase
010Block Erase
0 1 1 Bulk Erase
1 X X No Erase/Program
X = don’t care