18.5 Flash Memory Register Descriptions
18.5.1 Flash Memory Control Register
The flash memory control register (FLMCR) is an eight-bit register that controls the flash memory
operating modes. Transitions to program mode, erase mode, program-verify mode, and erase-
verify mode are made by setting bits in this register. FLMCR is initialized to H'00 by a reset, in
the standby modes, and when 12 V is not applied to V
PP
. When 12 V is applied to V
PP
, a reset or
entry to a standby mode initializes FLMCR to H'80.
Bit
Initial value
R/W
7
0
V
PP
EV
6
5
4
3
2
1
0
0
0
0
0
0
0
0
R
R/W
—
—
R/W
R/W
R/W
R/W
—
—
PV
E
P
Reserved bits
Erase mode
Designates transition
to or exit from erase
mode
Program mode
Designates
transition to
or exit from
program mode
*
*
*
*
*
Program-verify mode
Designates transition to
or exit from program-verify
mode
Erase-verify mode
Designates transition to
or exit from erase-verify
mode
Programming power
Status flag indicating the
power to V
PP
V
PP
enable
Disables or enables 12-V
application to V
PP
pin
V E
PP
Note:
*
The initial value is H'00 in modes 5, 6, and 7 (on-chip flash memory enabled). In modes
1, 2, 3, and 4 (on-chip flash memory disabled), this register cannot be modified and is
always read as H'FF.
574
www.DataSheet4U.com