![ARTERY AT32F435 Series Скачать руководство пользователя страница 114](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592114.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 114
Rev 2.03
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.
5.6.21 Security library password setting register
(SLIB_SET_PWD)
Only used in Flash security library.
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.
Note: All these bits are write-only, and return 0 when being read.
5.6.22 Security library address setting register0
(SLIB_SET_RANGE0)
Only used for Flash security library address setting.
Bit
Register
Reset value
Type
Description
Bit 31: 16 SLIB_ES_SET
0x000
wo
Security library end sector setting
Theses bits are used to set the security library end sector.
0: Sector 0
1: Sector 1
2: Sector 2
…
Bit 10: 0
SLIB_SS_SET
0x000
wo
Security library start sector setting
These bits are used to set the security library start sector.
0: Sector 0
1: Sector 1
2: Sector 2
…
Note: All these bits are write -only, and return 0 when being read.
(1) This register can be written only after unlocking security library lock
.
(2) Being out of the Flash address range is an invalid setting.
5.6.23 Security library address setting register1
(SLIB_SET_RANGE1)
Only used for Flash security library address setting.
Bit
Register
Reset value
Type
Description
Bit 31
SET_SLIB_STRT
0x0
wo
Setting sLib start
This bit is used to enable security library information
settings.
It is cleared by hardware automatically when the security
library configuration is enabled by hardware.