Hitachi H8/3022 Hardware Manual page 586

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

FLMCR1—Flash Memory Control Register 1
Bit
Initial value
Read/Write
Software write enable bit
0
1
Flash write enable bit
0
When a low level is input to the FWE pin (hardware protection state)
1
When a high level is input to the FWE pin
Notes: This register is used only in the flash memory versions.
Reading the corresponding address in a mask ROM version will always return
1s, and writes to this address are disabled.
* Set according to the state of the FWE pin.
7
6
5
FWE
SWE
ESU
—*
0
0
R
R/W
R/W
Erase-verify mode
0
1
Program setup
Program setup cleared (Initial value)
0
1
Program setup
[Setting condition]
When FWE = 1 and SWE = 1
Erase setup
0
Erase setup cleared (Initial value)
1
Erase setup
[Setting condition]
When FWE = 1 and SWE = 1
Program/erase disabled (Initial value)
Program/erase enabled
[Setting condition]
When FWE = 1
4
3
2
PSU
EV
PV
0
0
0
R/W
R/W
R/W
Program mode
0
1
Erase mode
0
Erase mode cleared (Initial value)
1
Transition to erase mode
[Setting condition]
When FWE = 1, SWE = 1, and ESU = 1
Program-verify mode
0
Program-verify mode cleared (Initial value)
1
Transition to program-verify mode
[Setting condition]
When FWE = 1 and SWE = 1
Erase-verify mode cleared (Initial value)
Transition to erase-verify mode
[Setting condition]
When FWE = 1 and SWE = 1
H'40
1
0
E
P
0
0
R/W
R/W
Program mode cleared (Initial value)
Transition to program mode
[Setting condition]
When FWE = 1, SWE = 1, and PSU = 1
Flash memory
577

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents