Flash Memory Control Register 2 (Flmcr2) - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

Bit
Bit Name
7
6
SWE
5
ESU
4
PSU
3
EV
2
PV
1
E
Bit
Bit Name
0
P
20.5.2

Flash Memory Control Register 2 (FLMCR2)

FLMCR2 is a register that displays the state of flash memory programming/erasing. FLMCR2 is a
read-only register, and should not be written to.
Initial Value
R/W
0/1
R
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Initial Value
R/W
0
R/W
Description
This bit is reserved. This bit is always read as 0 in
modes 1 and 2. This bit is always read as 1 in
modes 3 to 7. The initial value should not be
changed.
Software Write Enable
When this bit is set to 1, flash memory
programming/erasing is enabled. When this bit is
cleared to 0, other FLMCR1 register bits and all
EBR1 and EBR2 bits cannot be set.
Erase Setup
When this bit is set to 1 while SWE = 1, the flash
memory transits to the erase setup state. When it
is cleared to 0, the erase setup state is cancelled.
Program Setup
When this bit is set to 1 while SWE = 1, the flash
memory transits to the program setup state. When
it is cleared to 0, the program setup state is
cancelled.
Erase-Verify
When this bit is set to 1 while SWE = 1, the flash
memory transits to erase-verify mode. When it is
cleared to 0, erase-verify mode is cancelled.
Program-Verify
When this bit is set to 1 while SWE = 1, the flash
memory transits to program-verify mode. When it
is cleared to 0, program-verify mode is cancelled.
Erase
When this bit is set to 1 while SWE = 1, and ESU =
1, the flash memory transits to erase mode. When
it is cleared to 0, erase mode is cancelled.
Description
Program
When this bit is set to 1 while SWE = 1, and PSU =
1, the flash memory transits to program mode.
When it is cleared to 0, program mode is cancelled.
Rev. 1.0, 09/01, page 773 of 904

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents