AT32WB415
Series Reference Manual
2022.04.13
Page 75
Ver 2.00
unlocked properly, indicating that erase/program operation
to the user system data is allowed. This bit is cleared by
writing “0”, which will re-lock the user system data area.
Bit 7
OPLK
1
rw
Operation lock
This bit is set by default, indicating that Flash memory is
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
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
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: 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