GD32W51x User Manual
59
Bits
Fields
Descriptions
31:2
Reserved
Must be kept at reset value.
1
LOCKNSMPU
Non-secure MPU registers lock
This bit is set by softw are and cleared only by a system reset. When is set, it
disables w rite access to non-secure MPU_CTRL_NS,
MPU_RNR_NS
and
MPU_RBA R_NS registers.
0: Non-secure MPU registers w rite is enabled
1: Non-secure MPU registers w rite is disabled
0
LOCKNSVTOR
VTOR_NS register lock
This bit is set by softw are and cleared only by a system reset.
0: VTOR_NS register w rite is enabled
1: VTOR_NS register w rite is disabled
SYSCFG CPU secure lock register (SYSCFG_CSLOCK)
Address offset:
0x50
Reset value: 0x0000 0000
This register is used to lock the configuration of PRIS and BFHFNMINS bits in the AIRCR
register, SAU, secure MPU and VTOR_S registers. When the system is secure (TZEN =1),
this register can be written only when the access is secure. A non-secure read/write access
is RAZ/WI and generates an illegal access event.
When the system is not secure (TZEN=0), this register is RAZ/WI
This register can be read and written by privileged access only. Unprivileged access is
RAZ/WI.
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
SAULK SMPULK
VTSAIRL
K
rs
rs
rs
Bits
Fields
Descriptions
31:3
Reserved
Must be kept at reset value.
2
SAULK
SAU registers lock.
This bit is set by softw are and cleared only by a system reset. When is set, it
disables w rite access to SAU_CTRL, SAU_RNR, SAU_RBAR and SAU_RLA R
registers.
0: SAU registers w rite is enabled