R01UH0823EJ0100 Rev.1.00 Page 1675 of 1823
Jul 31, 2019
RX23W Group 50. Flash Memory (FLASH)
50.4.16 Flash Status Register 0 (FSTATR0)
This register is a status register used to confirm the result of executing a software command. Each error flag is set to 0
when the next software command is executed.
ERERR Flag (Erase Error Flag)
This flag indicates the result of the erase processing for the ROM/E2 DataFlash.
[Setting condition]
An error occurs during erasure.
[Clearing condition]
The next software command is executed.
The value read from this flag is undefined when the FCR.STOP bit is set to 1 (processing is forcibly stopped) during
erasure.
PRGERR Flag (Program Error Flag)
This flag indicates the result of the program processing for the ROM/E2 DataFlash.
[Setting condition]
An error occurs during programming.
[Clearing condition]
The next software command is executed.
BCERR Flag (Blank Check Error Flag)
This flag indicates the result of the blank check processing for the ROM/E2 DataFlash.
[Setting condition]
An error occurs during blank checking.
Address(es): FLASH.FSTATR0 007F C1F0h
b7 b6 b5 b4 b3 b2 b1 b0
——
EILGLE
RR
ILGLER
R
BCERR —
PRGER
R
ERERR
Value after reset:
x0000000
Bit Symbol Bit Name Description R/W
b0 ERERR Erase Error Flag 0: Erasure terminates normally.
1: An error occurs during erasure.
R
b1 PRGERR Program Error Flag 0: Programming terminates normally.
1: An error occurs during programming.
R
b2 — Reserved The read value is undefined. R
b3 BCERR Blank Check Error Flag 0: Blank checking terminates normally.
1: An error occurs during blank checking.
R
b4 ILGLERR Illegal Command Error Flag 0: No illegal software command or illegal access is detected.
1: An illegal command or illegal access is detected.
R
b5 EILGLERR Extra Area Illegal Command Error
Flag
0: No illegal command or illegal access to the extra area is
detected.
1: An illegal command or illegal access to the extra area is
detected.
R
b7, b6 — Reserved The read value is undefined. R