Rev. 1.0, 09/02, page 452 of 568
19.5.1
Flash Memory Control Register 1 (FLMCR1)
FLMCR1 makes the flash memory enter program mode, program-verify mode, erase mode, or
erase-verify mode. For details on the register setting, refer to section 19.8, Flash Memory
Programming/Erasing.
Bit
Bit Name
Initial Value
R/W
Description
7 FWE
—
R
Reflects the input level at the FWE pin. It is set to 1
when a low level is input to the FWE pin, and
cleared to 0 when a high level is input.
6
SWE
0
R/W
Software Write Enable
When this bit is set to 1, flash memory
programming/erasing is enabled. When this bit is
cleared to 0, other FLMCR1 register bits and all
EBR1 and EBR2 bits cannot be set.
5 ESU1
0
R/W
Erase
Setup
When this bit is set to 1, the flash memory changes
to the erase setup state. When it is cleared to 0,
the erase setup state is cancelled.
4 PSU1
0
R/W
Program
Setup
When this bit is set to 1, the flash memory changes
to the program setup state. When it is cleared to 0,
the program setup state is cancelled. Set this bit to
1 before setting the P1 bit in FLMCR1.
3 EV1
0
R/W
Erase-Verify
When this bit is set to 1, the flash memory changes
to erase-verify mode. When it is cleared to 0,
erase-verify mode is cancelled.
2 PV1
0
R/W
Program-Verify
When this bit is set to 1, the flash memory changes
to program-verify mode. When it is cleared to 0,
program-verify mode is cancelled.
1 E1
0
R/W
Erase
When this bit is set to 1 while the SWE1 and ESU1
bits are 1, the flash memory changes to erase
mode. When it is cleared to 0, erase mode is
cancelled.
0 P1
0
R/W
Program
When this bit is set to 1 while the SWE1 and PSU1
bits are 1, the flash memory changes to program
mode. When it is cleared to 0, program mode is
cancelled.
Summary of Contents for H8S/2627
Page 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Page 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Page 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Page 82: ...Rev 1 0 09 02 page 46 of 568 ...
Page 88: ...Rev 1 0 09 02 page 52 of 568 ...
Page 98: ...Rev 1 0 09 02 page 62 of 568 ...
Page 156: ...Rev 1 0 09 02 page 120 of 568 ...
Page 390: ...Rev 1 0 09 02 page 354 of 568 ...
Page 480: ...Rev 1 0 09 02 page 444 of 568 ...
Page 512: ...Rev 1 0 09 02 page 476 of 568 ...
Page 528: ...Rev 1 0 09 02 page 492 of 568 ...
Page 580: ...Rev 1 0 09 02 page 544 of 568 ...