![ARTERY AT32F435 Series Скачать руководство пользователя страница 113](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592113.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 113
Rev 2.03
5.6.16 Flash security library status register2 (SLIB_STS2)
Only used in Flash security library.
Bit
Register
Reset value
Type
Description
Bit 31: 16 Reserved
0x0000000
resd
Kept at its default value
Bit 15: 0
SLIB_ENF
0x0
ro
sLib instruction start sector
0: Sector 0
1: Sector 1
2: Sector 2
…
0xFFFF: Non-sLib instruction
5.6.17 Flash security library status register0 (SLIB_STS0)
Only used in Flash security library.
Bit
Register
Reset value
Type
Description
Bit 31: 4
Reserved
0x0000000
resd
Kept at its default value
Bit 3
SLIB_ENF
0x0
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: 0
Reserved
0x0
resd
Keep at its default value
5.6.18 Flash security library status register1 (SLIB_STS1)
Only used in Flash security library.
Bit
Register
Reset value
Type
Description
Bit 31: 16 SLIB_ES
0xFFFF
ro
Security library end sector
0: Sector 0
1: Sector 1
2: Sector 2
…
511: Sector 511
Bit 15: 0
SLIB_SS
0xFFFF
ro
Security library start sector
0: Sector 0
1: Sector 1
2: Sector 2
…
511: Sector 511
5.6.19 Flash security library password clear register
(SLIB_PWD_CLR)
Only used in Flash security library.
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.6.20 Security library additional status register
(SLIB_MISC_STS)
Only used in Flash security library.
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.