h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 776

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 24 ROM
Rev. 3.00 Jan 25, 2006 page 724 of 872
REJ09B0286-0300
Bit
7
6
5, 4
3
2
1
0
Bit Name
FWE
SWE
EV
PV
E
P
Initial Value
0
0
All 0
0
0
0
0
R/W
R
R/W
R
R/W
R/W
R/W
R/W
Description
Flash Write Enable
Used to monitor the FWE pin state. When this bit is
cleared to 0, flash memory write or erasure is
protected by hardware. When this bit is set to 1,
hardware protect is cancelled and the SWE bit can
be read from or written to.
Software Write Enable
When this bit is set to 1, flash memory
programming/erasing is enabled. When this bit is
cleared to 0, the EV, PV, E, and P bits in this
register, the ESU and PSU bits in FLMCR2, and all
EBR2 bits cannot be set. Do not clear these bits and
SWE to 0 simultaneously.
Reserved
These bits are always read as 0 and cannot be
modified.
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.
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.

Related parts for h8s-2158