GD32W51x User Manual
63
This register can be read and written by privileged and unprivileged access.
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
P31WP
P30WP
P29WP
P28WP
P27WP
P26WP
P25WP
P24WP
P23WP
P22WP
P21WP
P20WP
P19WP
P18WP
P17WP
P16WP
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
Rs
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P15WP
P14WP
P13WP
P12WP
P11WP
P10WP
P9WP
P8WP
P7WP
P6WP
P5WP
P4WP
P3WP
P2WP
P1WP
P0WP
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
Bits
Fields
Descriptions
31:0
PxWP (x = 0 to 31)
SRAM1 1 Kbyte page x w rite protection.
These bits are set by softw are and cleared only by a system reset.
0: Write protection of SRAM1 1 Kbyte page x is disabled
1: Write protection of SRAM1 1 Kbyte page x is enabled.
SYSCFG SRAM1 write protection register 1 (SYSCFG_SWP1)
Address offset:
0x64
Reset value: 0x0000 0000
When the system is secure (TZEN =1), this register can be protected against non-secure
access by setting the SRAM1SEC bit in the SYSCFG_SECCFGR register. When SRAM1SEC
bit is set, only secure access is allowed. A non-secure read/write access is RAZ/WI and
generates an illegal access event.
When the system is not secure (TZEN=0), there is no access restriction.
This register can be read and written by privileged and unprivileged access.
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
P63WP
P62WP
P61WP
P60WP
P59WP
P58WP
P57WP
P56WP
P55WP
P54WP
P53WP
P52WP
P51WP
P50WP
P49WP
P48WP
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
Rs
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P47WP
P46WP
P45WP
P44WP
P43WP
P42WP
P41WP
P40WP
P39WP
P38WP
P37WP
P36WP
P35WP
P34WP
P33WP
P32WP
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
rs
Bits
Fields
Descriptions
31:0
PxWP (x = 32 to 63) SRAM1 1 Kbyte page x w rite protection.
These bits are set by softw are and cleared only by a system reset.
0: Write protection of SRAM1 1 Kbyte page x is disabled
1: Write protection of SRAM1 1 Kbyte page x is enabled.