GD32W51x User Manual
258
9.4.
TZSPC Register definition
TZSPC secure access base address: 0x500A 0000
TZSPC non-secure access base address: 0x400A 0000
9.4.1.
TZSPC control register (TZPCU_TZSPC_CTL)
Address offset: 0x00
Reset value: 0x0000 0000
Secure write access only.
Read accesses are not limited.
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
LK
rw
Bits
Fields
Descriptions
31:1
Reserved
Must be kept at reset value.
0
LK
TZSPC items lock configuration bit
This bit is set and cleared by softw are.
0: control register not locked
1: control register locked
Note:
This bit is unset by default and once set, it can not be reset until global TZ SPC
reset.
9.4.2.
TZSPC
secure
access
mode
configuration
register
0
(TZPCU_TZSPC_SAM_CFG0)
Address offset: 0x10
Reset value: 0x0000 0000
Secure write access only.
If a given bit in TZPCU_TZSPC_PAM_CFGx register is not set, the relative bit in
TZPCU_TZSPC_SAM_CFGx register can be written by non privilege secure code. If a given
bit in
TZPCU_TZSPC_PAM_CFGx register is set, the
relative
bit
in
TZPCU_TZSPC_SAM_CFGx register can be written only by privilege secure code.