GD32W51x User Manual
228
When EXTI_PRIVCFG PRIVx is enabled, PDx can only be accessed w ith privilege
access.Unprivileged w rite to this bit x is discarded, unprivileged read returns 0.
0: EXTI Linex is not triggered
1: EXTI Linex is triggered. This bit is cleared to 0 by w riting 1 to it.
7.9.7.
Security configuration register (EXTI_SECCFG)
Address offset: 0x18
System reset: 0x0000 0000
This register provides write access security, a non-secure write access is ignored and causes
the generation of an illegal access event. A non-secure read returns the register data.
Contains only register bits for security capable input events.
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
SEC28
SEC27
SEC26
SEC25
SEC24
SEC23
SEC22
SEC21
SEC20
SEC19
SEC18
SEC17
SEC16
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
SEC15
SEC14
SEC13
SEC12
SEC11
SEC10
SEC9
SEC8
SEC7
SEC6
SEC5
SEC4
SEC3
SEC2
SEC1
SEC0
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
SECx
Security enable on event input x (w here x = 0 to 28)
When EXTI_PRIVCFG.PR IVx is disabled, SECx can be accessed w ith privilege
and unprivileged access.
When EXTI_PRIVCFG.PR IVx is enabled, SECx can only be w ritten w ith privilege
access. Unprivileged w rite to this SECx is discarded.
0: Event security disabled (non-secure)
1: Event security enabled (secure)
7.9.8.
Privilege configuration register (EXTI_PRIVCFG)
Address offset: 0x1C
System reset: 0x0000 0000
This register provides privileged write access protection, an unprivileged write access is
discarded and causes the generation of an illegal access event. An unprivileged read returns
the register data.
Contains only register bits for privilege capable input events.
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
PRIV28
PRIV27
PRIV26
PRIV25
PRIV24
PRIV23
PRIV22
PRIV21
PRIV20
PRIV19
PRIV18
PRIV17
PRIV16