EEPROM
68HC(9)12DG128 Rev 1.0
112
EEPROM
MOTOROLA
EEPROM Control Registers
Bits[7:4] are loaded at reset from the EEPROM SHADOW byte.
Bits 5 and 4 are reserved for test purposes. These locations in the
SHADOW byte should not be programmed otherwise some locations in
the regular EEPROM array will no longer be visible.
NOTE:
NOBDML — Background Debug Mode Lockout Disable
0 = The BDM lockout is enabled.
1 = The BDM lockout is disabled.
Loaded from SHADOW byte at reset.
Read anytime. Write anytime in special modes (SMODN=0).
NOSHB — SHADOW Byte Disable
0 = SHADOW byte enabled and accessible at address $0FC0.
1 = Regular EEPROM array at address $0FC0.
Loaded from SHADOW byte at reset.
Read anytime. Write anytime in special modes (SMODN=0).
When NOSHB cleared, the regular EEPROM array byte at address
$0FC0 is no longer visible. The SHADOW byte is accessed instead
for both read and program/erase operations. BULK, ODD and EVEN
program/erase only apply if the SHADOW byte is enabled.
NOTE:
Bit 6 of the SHADOW byte should not be cleared (set to ‘0’) in order to
have the full EEPROM array visible.
EESWAI — EEPROM Stops in Wait Mode
0 = The module is not affected during WAIT mode
1 = The module ceases to be clocked during WAIT mode
Read and write anytime.
NOTE:
The EESWAI bit should be cleared if the WAIT mode vectors are
mapped in the EEPROM array.
EEMCR
— EEPROM Module Configuration
$00F0
Bit 7
6
5
4
3
1
1
2
1
Bit 0
EERC
0
NOBDML
—
(2)
NOSHB
—
(2)
1
(1)
—
(2)
1. Bits 4 and 5 have test functions and should not be programmed.
2. Loaded from SHADOW byte.
1
(1)
—
(2)
EESWAI
1
PROTLCK
0
RESET:
4-eeprom