GD32W51x User Manual
229
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PRIV15
PRIV14
PRIV13
PRIV12
PRIV11
PRIV10
PRIV9
PRIV8
PRIV7
PRIV6
PRIV5
PRIV4
PRIV3
PRIV2
PRIV1
PRIV0
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:29
Reserved
Must be kept at reset value
28:0
PRIVx
Privilege enable on event input x (w here x = 0 to 28)
When EXTI_SECCFG.SECx is disabled, PRIVx can be accessed w ith secure and
nonsecure access.
When EXTI_SECCFG.SECx is enabled, PRIVx can only be w ritten w ith secure
access. Non-secure w rite to this PRIVx is discarded.
0: Event privilege disabled (unprivileged)
1: Event privilege enabled (privileged)
7.9.9.
Lock register (EXTI_LOCK)
Address offset: 0x20
System reset: 0x0000 0000
This register provides both write access security, a non-secure write access is ignored and a
read access returns zero data, and generate 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
LOCK
rw
Bits
Fields
Descriptions
31:1
Reserved
Must be kept at reset value.
0
LOCK
Global security and privilege configuration registers EXTI_SECCFG
and
EXTI_PRIV CFG lock.
This register’s bit is w ritten once after reset.
0: Security and privilege configuration open, can be modified.
1: Security and privilege configuration locked, can no longer be modified.