AT32F425
Series Reference Manual
2022.03.30
Page 79
Ver 2.01
Bit 6
ERSTR
0
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
0
rw
User system data erase
It indicates the user system data erase.
Bit 4
USDPRGM
0
rw
User system data program
It indicates the user system data program.
Bit 3
BLKERS
0
rw
Bank erase
It indicates bank erase operation.
Bit 2
BANKERS
0
rw
Sector erase
It indicates bank erase operation.
Bit 1
SECERS
0
rw
Page erase
It indicates sector erase operation.
Bit 0
FPRGM
0
rw
Flash program
It indicates Flash program operation.
5.7.6
Flash address register (FLASH_ADDR)
Bit
Register
Reset value
Type
Description
Bit 31: 0
FA
0x0000 0000 wo
Flash address
Select the address of the banks/pages to be erased.
5.7.7
User system data register (FLASH_USD)
Bit
Register
Reset value
Type
Description
Bit 31: 27 Reserved
0x00
resd
Kept at its default value
Bit 26
FAP_HL
0
ro
Flash access protection high level
The status of the Flash access protection is determined by
bit 26 and bit 1.
0: Flash access protection disabled, and FAP=0xA5
1: Low-level Flash access protection enabled, and
FAP=non-oxCC nad 0xA5.
2: Resreved
3: High-level Flash access protection, and FAP=0xCC
The SWD is disabled as soon as the high-level access
protection is enabled.
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: Unused
Bit 8: nSTDBY_WDT
Bit 7: nDEPSLP_WDT
Bit 6: nBOOT1
Bit 5: Unused
Bit 4: nSTDBY_RST
Bit 3: nDEPSLP_RST
Bit 2: nWDT_ATO_EN
Bit 1
FAP
0
ro
Flash access protection
Access to Flash memory is not allowed when this bit is set.
Bit 0
USDERR
0
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.