Hitachi H8S/2646 Hardware Manual page 699

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Bit:
Initial value:
R/W:
Note: * Determined by the state of the FWE pin.
Bit 7—Flash Write Enable Bit (FWE): Sets hardware protection against flash memory
programming/erasing.
Bit 7: FWE
Description
0
When a low level is input to the FWE pin (hardware-protected state)
1
When a high level is input to the FWE pin
Bit 6—Software Write Enable Bit (SWE): Enables or disables flash memory programming and
erasing. Set this bit when setting bits 5 to 0, bits 7 to 0 of EBR1, and bits 1 and 0 of EBR2.
Bit 6: SWE
Description
0
Writes disabled
1
Writes enabled
[Setting condition]
When FWE = 1
Bit 5—Erase Setup Bit (ESU): Prepares for a transition to erase mode. Set this bit to 1 before
setting the E bit in FLMCR1 to 1. Do not set the SWE, PSU, EV, PV, E, or P bit at the same time.
Bit 5: ESU
Description
0
Erase setup cleared
1
Erase setup
[Setting condition]
When FWE = 1 and SWE = 1
7
6
FWE
SWE
ESU
—*
0
R
R/W
R/W
5
4
3
PSU
EV
0
0
0
R/W
R/W
2
1
PV
E
0
0
R/W
R/W
R/W
(Initial value)
(Initial value)
0
P
0
667

Advertisement

Table of Contents
loading

Table of Contents