English
Language : 

MC68HC11P2 Datasheet, PDF (67/268 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Operating Modes and On-Chip Memory
EPROM, EEPROM and CONFIG register
3.6.2.1 PPROG — EEPROM programming control register
EEPROM programming
(PPROG)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$003B ODD EVEN
0
BYTE
ROW
ERAS
E
EELAT
EEPG
M
0000 0000
NOTE:
Writes to EEPROM addresses are inhibited while EEPGM is one. A write
to a different EEPROM location is prevented while a program or erase
operation is in progress.
ODD — Program odd rows in half of EEPROM (Test)
EVEN — Program even rows in half of EEPROM (Test)
If both ODD and EVEN are set to one then all odd and even rows in
half of the EEPROM will be programmed with the same data, within
one programming cycle.
Bit 5 — Not implemented; always reads zero.
BYTE — EEPROM byte erase mode
1 = Erase only one byte of EEPROM.
0 = Row or bulk erase mode used.
ROW — EEPROM row/bulk erase mode (only valid when BYTE = 0)
1 = Erase only one 16 byte row of EEPROM.
0 = Erase all 640 bytes of EEPROM.
Table 3-8. Erase mode selection
Byte
0
0
1
1
Row
0
1
0
1
Action
Bulk erase (all 640 bytes)
Row erase (16 bytes)
Byte erase
Byte erase
ERASE — Erase/normal control for EEPROM
1 = Erase mode.
0 = Normal read or program mode.
MC68HC11P2 — Rev 1.0
Operating Modes and On-Chip Memory
For More Information On This Product,
Go to: www.freescale.com
Technical Data