
AT32F413
Series Reference Manual
2022.06.27
Page 82
Rev 2.00
5.7.19 Security library password setting register
(SLIB_SET_PWD)
For Flash security library password setting.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SLIB_PSET_VAL
0x0000 0000 wo
Security library password setting value
Note: This register can be written only after unlocking
security library lock. It is used to set up the startup
password of security library. Values of 0xFFFF_FFFF and
0x0000_0000 are invalid.
5.7.20 Security library address setting register
(SLIB_SET_RANGE)
For Flash security library address setting.
Bit
Register
Reset value
Type
Description
Bit 31: 22 SLIB_ES_SET
0x000
wo
Security library end page setting
Theses bits are used to set the security library end page.
0: Page 0
1: Page 1
2: Page 2
…
62: Page 62
Note: For 256 K Flash memory, this register range is from
page 0 to page 30.
Bit 21: 11 SLIB_DSS_SET
0x000
wo
Security library data start page setting
These bits are used to set the security library start page.
0: Invalid page. Setting it will cause security library to fail
to start.
1: Page 1
2: Page 2
…
62: Page 62
0x7FF: No security library data area.
Note: For 256 K Flash memory, this register range is from
page 0 to page 30 or 0x7FF.
Bit 10: 0
SLIB_SS_SET
0x000
wo
Security library start page setting
These bits are used to set the security library start page.
0: Page 0
1: Page 1
2: Page 2
…
62: Page 62
Note: For 256 K Flash memory, this register range is from
page 0 to page 30.
Note: All these bits are write -only, and return 0 when being read.
This register can be written only after unlocking security library lock
.
5.7.21 Security library unlock register (SLIB_UNLOCK)
For Flash security library unlock setting.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SLIB_UKVAL
0x0000 0000 wo
Security library unlock key value
Fixed key value is 0xA35F_6D24, used for security library
setting register unlock
Note: All these bits are write-only, and return 0 when being read.