
AT32F413
Series Reference Manual
2022.06.27
Page 78
Rev 2.00
protected against operations. This bit is cleared by
hardware after unlock, indicating that erase/program
operation to Flash memory is allowed. Writing “1” can re-
lock Flash memory operations.
Bit 6
ERSTR
0x0
rw
Erase start
An erase operation is triggered when this bit is set. This bit
is cleared by hardware after the completion of the erase
operation.
Bit 5
USDERS
0x0
rw
User system data erase
It indicates the user system data erase.
Bit 4
USDPRGM
0x0
rw
User system data program
It indicates the user system data program.
Bit 2
BANKERS
0x0
rw
Bank erase
It indicates bank erase operation.
Bit 1
SECERS
0x0
rw
Page erase
It indicates page erase operation.
Bit 0
FPRGM
0x0
rw
Flash program
It indicates Flash program operation.
5.7.6
Flash address register (FLASH_ADDR)
For Flash memory bank 1 only.
Bit
Register
Reset value
Type
Description
Bit 31: 0
FA
0x0000 0000 wo
Flash address
Select the address of the pages to be erased in page erase
operation.
5.7.7
User system data register (FLASH_USD)
Bit
Register
Reset value
Type
Description
Bit 31: 26 Reserved
0x00
resd
Kept at its default value
Bit 25: 18 USER_D1
0xFF
ro
User data 1
Bit 17: 10 USER_D0
0xFF
ro
User data 0
Bit 9: 2
SSB
0xFF
ro
System setting byte
Includes the system setting bytes in the loaded user
system data area
Bit [9: 6]: Unused
Bit 5: BTOPT
Bit 4: nSTDBY_RST
Bit 3: nDEPSLP_RST
Bit 2: nWDT_ATO_EN
Bit 1
FAP
0x0
ro
Flash access protection
Access to Flash memory is not allowed when this bit is set.
Bit 0
USDERR
0x0
ro
User system data error
When this bit is set, it indicates that certain byte does not
match its inverse code in the user system data area. At this
point, this byte and its inverse code will be forced to0xFF
when being read.
5.7.8
Erase/program protection status register (FLASH_EPPS)
Bit
Register
Reset value
Type
Description
Bit 31: 0
EPPS
0xFFFF FFFF ro
Erase/Program protection status
This register reflects the erase/program protection byte
status in the loaded user system data.