
AT32F413
Series Reference Manual
2022.06.27
Page 81
Rev 2.00
5.7.16 Flash security library status register 1 (SLIB_STS1)
For Flash security library only
Bit
Register
Reset value
Type
Description
Bit 31: 22 SLIB_ES
0x000
ro
Security library end page
0: Page 0
1: Page 1
2: Page 2
…
62: Page 62
Bit 21: 11 SLIB_DAT_SS
0x000
ro
Security library data start page
0: Invalid page
1: Page 1
2: Page 2
…
62: Page 62
0x7FF: No security library data area
Bit 10
:
0 SLIB_SS
0x000
ro
Security library start page
0: Page 0
1: Page 1
2: Page 2
…
62: Page 62
5.7.17 Flash security library password clear register
(SLIB_PWD_CLR)
For Flash security library only.
Bit
Register
Reset value
Type
Description
Bit 31:0
SLIB_PCLR_VAL
0x0000 0000 wo
Security library password clear value
Entering correct security library password will unlock
security library functions.
The write status of this register is reflected in the bit 0 and
bit 1 in the SLIB_MISC_STS register.
5.7.18 Security library additional status register
(SLIB_MISC_STS)
For Flash security library only.
Bit
Register
Reset value
Type
Description
Bit 31:25
Reserved
0x00
resd
Kept at its default value
Bit 24: 16 SLIB_RCNT
0x100
ro
Security library remaining count
It is decremented from 256 to 0.
Bit 15: 3
Reserved
0x0000
resd
Kept at its default value
Bit 2
SLIB_ULKF
0x0
ro
Security library unlock flag
When this bit is set, it indicates that sLib-related setting
registers can be configured.
Bit 1
SLIB_PWD_OK
0x0
ro
Security library password ok
This bit is set by hardware when the password is correct.
Bit 0
SLIB_PWD_ERR
0x0
ro
Security library password error
This bit is set by hardware when the password is incorrect
and the setting value of the password clear register is
different from 0xFFFF FFFF.
Note: When this bit is set, the hardware will no longer
agree to re-program the password clear register until the
next reset.