Datasheet
Section 23 ROM
Rev. 3.00 Mar 21, 2006 page 612 of 788
REJ09B0300-0300
Bit Bit Name Initial Value R/W Description
7 FWE 1 R Flash Write Enable
Controls programming/erasing of on-chip flash
memory. This bit is always read as 0, and cannot be
modified.
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, 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.
5, 4 — All 0 R Reserved
These bits are always read as 0 and cannot be
modified.
3 EV 0 R/W 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.
2 PV 0 R/W 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.
1E 0 R/WErase
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.
0 P 0 R/W 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.