Hitachi H8/3062 Hardware Manual page 577

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

Bit 6—Software Write Enable (SWE): Enables or disables flash memory programming and
erasing (This bit should be set when setting bits 5 to 0, EBR1 bits 7 to 0, and EBR2 bits 3 to 0).
Bit 6
SWE
Description
0
Programming/erasing disabled
1
Programming/erasing enabled
[Setting condition]
When FWE = 1
Note: Do not execute a SLEEP instruction while the SWE bit is set to 1.
Bit 5—Erase Setup (ESU): Prepares for a transition to erase mode. Set this bit to 1 before setting
the E bit to 1 in FLMCR1 (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
Bit 4—Program Setup (PSU): Prepares for a transition to program mode. Set this bit to 1 before
setting the P bit to 1 in FLMCR1 (Do not set the SWE, ESU, EV, PV, E, or P bit at the same
time).
Bit 4
PSU
Description
0
Program setup cleared
1
Program setup
[Setting condition]
When FWE = 1 and SWE = 1
Bit 3—Erase-Verify Mode (EV): Selects erase-verify mode transition or clearing (Do not set the
SWE, ESU, PSU, PV, E, or P bit at the same time).
Bit 3
EV
Description
0
Erase-verify mode cleared
1
Transition to erase-verify mode
[Setting condition]
When FWE = 1 and SWE = 1
(Initial value)
(Initial value)
(Initial value)
(Initial value)
529

Advertisement

Table of Contents
loading

Table of Contents