GD32W51x User Manual
89
This register is secure. It can be read and written only by secure access. A non-secure
read/write access is RAZ/WI. This register can be protected against non-privileged access
when FMC_PRIV = 1.
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
SECKEY[31:16]
w
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
SECKEY[15:0]
w
Bits
Fields
Descriptions
31:0
SECKEY[31:0]
FMC_SECCTL unlock register
These bits are only be w ritten by softw are.
Write SECKEY [31:0] w ith keys to unlock FMC_SECCTL register.
2.5.8.
Secure status register (FMC_SECSTAT)
Address offset: 0x2C
Reset value: 0x0000 0000
This register is secure. It can be read and written only by secure access. A non-secure
read/write access is RAZ/WI. This register can be protected against non-privileged access
when FMC_PRIV = 1.
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
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
SECEND
F
SECWPE
RR
SECERR
Reserved
SECBUS
Y
rc_w1
rc_w1
rc_w1
rc_w1
Bits
Fields
Descriptions
31:6
Reserved
Must be kept at reset value.
5
SECENDF
End of operation flag
When the operation executed successfully, this bit is set by hardw are.
The softw are can clear it by w riting 1.
4
SECWPERR
Erase/Program protection error flag
When erase/program on protected pages, this bit is set by hardw are.