GD32W51x User Manual
151
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
PRIV
rw
Bits
Fields
Descriptions
31:1
Reserved
Must be kept at reset value.
0
PRIV
Set and reset by softw are. This bit can be read by both privileged and unprivileged
access. When set, it can only be cleared by a privileged access.
0: All PMU registers can be read and w ritten w ith privileged or unprivileged access.
1: All PMU registers can be read and w ritten only w ith privileged access. An
unprivileged access to PMU registers is RAZ / WI. If the PMU is not secure, the
PRIV bit can be w ritten by a secure or non-secure privileged access. If TrustZone
security is enabled (TZEN = 1), if the PMU is secure, the PRIV bit can be w ritten
only by a secure privileged access: – A non-secure w rite access generates an illegal
access event and w rite is ignored. – A secure unprivileged w rite access on PRIV bit
is ignored.