Flash Memory Control Register 2 (Flmcr2) - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

Bit
Bit Name Initial Value
2
PV1
0
1
E1
0
0
P1
0
Note: * Set according to the FWE pin state.
19.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.
Bit
Bit Name Initial Value
7
FLER
0
6 to 0 —
0
Rev. 3.0, 10/02, page 566 of 686
R/W
Description
R/W
Program-Verify:
When this bit is set to 1, the flash memory transits to
program-verify mode. When it is cleared to 0, program-
verify mode is cancelled.
[Setting condition]
When FWE=1 and SWE1=1
R/W
Erase:
When this bit is set to 1 while the SWE1 and ESU1 bits
are 1, the flash memory transits to erase mode. When it
is cleared to 0, erase mode is cancelled.
[Setting condition]
When FWE=1, SWE1=1, and ESU1=1
R/W
Program:
When this bit is set to 1 while the SWE1 and PSU1 bits
are 1, the flash memory transits to program mode.
When it is cleared to 0, program mode is cancelled.
[Setting condition]
When FWE=1, SWE1=1, and PSU1=1
R/W
Description
R
Indicates that an error has occurred during an operation
on flash memory (programming or erasing). When
FLER is set to 1, flash memory goes to the error-
protection state.
See section 19.9.3 Error Protection, for details.
Reserved:
These bits always read as 0.

Advertisement

Table of Contents
loading

Table of Contents