CHAPTER1: Flash Memory
4. Registers
P E R I P H E R A L M A N U A L
32
S6E1Cx_MN710-00016-1v0-E, August 31, 2015
CONFIDENTIAL
4.2
Flash Status Register (FSTR)
The Flash Status Register (FSTR) is a status register of the flash memory.
Register Configurations
bit
7
6
5
4
3
2
1
0
Field
Reserved
PGMS
SERS
ESPS
CERS
HNG
RDY
Attribute
-
R
R
R
R
R
R
Initial Value
-
0
0
0
0
0
X
Register Functions
[bit7:6] Reserved bits
The read values are undefined. Ignored on write.
[bit5] PGMS: Flash Program Status
Indicates the program (writing operation) status of the flash memory.
bit
Description
0
The program is not being written to the flash memory (Initial value)
1
The program is being written to the flash memory.
[bit4] SERS: Flash Sector Erase Status
Indicates the sector erase status of the flash memory.
bit
Description
0
The sector is not being erased. (Initial value)
1
The sector is being erased or the sector erase is being suspended.
[bit3] ESPS: Flash Erase Suspend Status
Indicates the sector erase suspend status of the flash memory.
bit
Description
0
The sector erase is not being suspended. (Initial value)
1
The sector erase is being suspended.
[bit2] CERS: Flash Chip Erase Status
Indicates the all sector erase status of the flash memory.
bit
Description
0
The flash memory is not being data erased. (Initial value)
1
The flash memory is being data erased.