AT32F425
Series Reference Manual
2022.03.30
Page 80
Ver 2.01
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.
5.7.9
Flash security library status register0 (SLIB_STS0)
For Flash security library only.
Bit
Register
Reset value
Type
Description
Bit 31: 24 Reserved
0x00
resd
Kept at its default value
Bit 23: 16 EM_SLIB_INST_SS 0xFF
ro
Extension memory sLib instruction start sector
0: Page 0
1: Page 1
2: Page 2
3: Page 3
0xFF: none
Others: invalid
Bit 15: 4
Reserved
0x000
resd
Kept at its default value
Bit 3
SLIB_ENF
0
ro
SLIB_ENF: sLib enable flag
When this bit is set, it indicates that the main Flash
memory is partially or completely (depending on the setting
of SLIB_STS1) used as security library code.
Bit 2
EM_SLIB_ENF
0
ro
Extension memory sLib enable flag
When this bit is set, it indicates that the bootloader code area
is used as the Flash extension area (BTM_AP_ENF is set),
and stores security library code.
Bit 1
Reserved
0
resd
Kept at its default value
Bit 0
BTM_AP_ENF
0
ro
Boot memory store application code enabled flag
When this bit is set, it indicates that the bootloader memory
can be used as main Flash extension area to store user
application code; otherwise, it is only used for system boot
code code.
5.7.10 Flash security library status register1 (SLIB_STS1)
For Flash security library only.
Bit
Register
Reset value
Type
Description
Bit 31: 22 SLIB_ES
0x3FF
ro
Security library end page
0: Page 0
1: Page 1
2: Page 2
…
63: Page 63
Bit 21: 11 SLIB_INST_SS
0x7FF
ro
Security library instruction start page
0: Page 0
1: Page 1
2: Page 2
…
63: Page 63
0X7FF: No security library instruction area
Bit 10: 0 SLIB_SS
0x7FF
ro
Security library start page
0: Page 0
1: Page 1
2: Page 2
…
63: Page 63