RX13T Group
31.4.19
Flash Status Register 0 (FSTATR0)
Address(es): FLASH.FSTATR0 007F FF8Ah
b7
b6
—
—
x
0
Value after reset:
Bit
Symbol
Bit Name
b0
ERERR
Erase Error Flag
b1
PRGERR
Program Error Flag
b2
—
Reserved
b3
BCERR
Blank Check Error Flag
b4
ILGLERR
Illegal Command Error Flag
b5
EILGLERR
Extra Area Illegal Command Error
Flag
b7, b6
—
Reserved
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.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b5
b4
b3
b2
EILGLE
ILGLER
BCERR
—
RR
R
0
0
0
0
b1
b0
PRGER
ERERR
R
0
0
Description
0: Erasure terminates normally.
1: An error occurs during erasure.
0: Programming terminates normally.
1: An error occurs during programming.
The read value is undefined.
0: Blank checking terminates normally.
1: An error occurs during blank checking.
0: No illegal software command or illegal access is detected.
1: An illegal command or illegal access is detected.
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.
The read value is undefined.
31. Flash Memory (FLASH)
R/W
R
R
R
R
R
R
R
Page 924 of 1041