HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 627

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
23.5.1
FLMCR1, used together with FLMCR2, makes the flash memory transit to program mode,
program-verify mode, erase mode, or erase-verify mode. For details on register setting, refer to
section 23.8, Flash Memory Programming/Erasing.
FLMCR1 is initialized to H'80 by a reset, or in hardware standby mode, software standby mode,
sub-active mode, sub-sleep mode, or watch mode.
Bit
7
6
5
4
3
2
1
0
Bit Name
FWE
SWE
EV
PV
E
P
Flash Memory Control Register 1 (FLMCR1)
Initial Value
1
0
0
0
0
0
0
0
R/W
R
R/W
R
R
R/W
R/W
R/W
R/W
Description
Flash Write Enable
Controls programming/erasing of on-chip flash
memory. This bit is always read as 0, and cannot be
modified.
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
EBR1 and EBR2 bits cannot be set to 1. 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.
Rev. 2.0, 08/02, page 587 of 788

Related parts for HD6432160