GD32W51x User Manual
101
modification are denied.
2.5.25.
Privilege configuration register (FMC_PRIVCFG)
Address offset: 0x90
Reset value: 0x0000 0000.
This register can be read by both privileged and unprivileged access.
When the system is secure (TZEN =1), this register can be read by secure and non-secure
access. It is write-protected against non-secure write access when the Flash is secure. A non-
secure write access is ignored and generates an illegal access event.
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
FMC_PRI
V
rw
Bits
Fields
Descriptions
31:1
Reserved
Must be kept at reset value.
0
FMC_PRIV
This bit can be read by both privileged or unprivileged, secure and non-secure
access. When set, it can only be cleared by a privileged access.
0: All Flash registers can be read and w ritten by privileged or unprivileged access.
1: All Flash registers can be read and w ritten by privileged access only.
If the Flash is not secure (non-secure area defined), the FMC_PRIV bit can be
w ritten by a secure or non-secure privileged access. If the Flash is secure, the
FMC_PRIV bit can be w ritten only by a secure privileged access:
– A non-secure w rite access is ignored and generates an illegal access event.
– A secure unprivileged w rite access on PRIV bit is ignored.
2.5.26.
Product ID register (FMC_PID)
Address offset: 0x100
Reset value: 0xXXXX XXXX
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
PID[31:16]
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0