English
Language : 

MC68HC05L28 Datasheet, PDF (39/156 Pages) Motorola, Inc – Flexible general-purpose microcomputer
3.4
Programming registers
3.4.1 EEPROM programming register (EEPROG)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
3
EEPROM program (EEPROG) $001B
CPEN 0 ER1 ER0 LATCH EERC EEPGM ?000 0000
3.4.1.1 CPEN — Charge pump enable
This bit enables the charge pump which produces the internal programming voltage. It is set with
the LATCH bit and should be disabled when not in use. The programming voltage is not available
until EEPGM is set.
1 (set) – Charge pump is enabled.
0 (clear) – Charge pump is disabled.
3.4.1.2 ER1, ER0 — Erase select bits
ER1 and ER0 are used to select either single byte programming or one of three erase modes: byte,
block or bulk. Table 3-1 shows the modes selected for each bit configuration. These bits are
readable and writeable and are cleared by reset.
Table 3-1 Erase mode select
ER1
ER0
0
0
0
1
1
0
1
1
Mode
Program
Byte erase
Block erase
Bulk erase
– In byte erase mode only the selected byte is erased.
– In block erase mode a 64-byte block of EEPROM is erased. The EEPROM
memory space is divided into four 64-byte blocks ($0300–$033F,
$0340–$037F, $0380–$03BF, $03C0–$03EF) and an erase to any address
within a block erases that block.
– In bulk erase mode the entire 240 bytes of EEPROM are erased.
MC68HC05L28
MEMORY AND REGISTERS
TPG
MOTOROLA
3-3