GD32W51x User Manual
348
mode of each channel (PRIV bit of the DMA_CHxSCTL register). A privileged software can
read the full interrupt status. An unprivileged software is restricted to read the status of
unprivileged channel(s), other privileged bit fields returning zero.
Every status / flag bit is set by hardware, independently of the privileged and the secure mode
of the channel.
Every status bit is cleared by hardware when the software sets the corresponding clear bit, in
the DMA_SSC register, provided that, if the channel x is in privileged mode and/or in secure
mode, then the software access to DMA_SSC is also privileged and/or secure.
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
IAIF7
IAIF6
IAIF5
IAIF4
IAIF3
IAIF2
IAIF1
IAIF0
r
r
r
r
r
r
r
r
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7:0
IAIFx
Channel x illegal access interrupt flag
(x = 0…7)
This bit is set by hardw are. It is cleared by softw are w riting 1 to the corresponding
bit in the DMA_SSCR register.
0: No illegal access event on channel x
1: An illegal access event occurred on channel x
12.6.12.
Security status clear register (DMA_SSC)
Address offset: 0x104
Reset value: 0x0000 0000
This register may mix secure and non secure information, depending on the secure mode of
each channel (SECM bit of the DMA_CHxSCTL register).
A secure software is able to set any flag clear bit of the DMA_SSC, and order DMA hardware
to clear any corresponding flag(s) in the DMA_SSTAT register.
A non-secure software is restricted to order DMA hardware to clear the non-secure flag(s) in
the DMA_SSTAT, by setting any non-secure corresponding flag clear bit(s) of the DMA_SSC
register.
This register may mix privileged and unprivileged information, depending on the privileged
mode of each channel (PRIV bit of the DMA_CHxSCTL register).
A privileged software is able to set any flag clear bit of the DMA_SSC, and order DMA
hardware to clear any corresponding flag(s) in the DMA_SSTAT register.
An unprivileged software is restricted to order DMA hardware to clear the unprivileged flag(s)
in the DMA_SSTAT, by setting any unprivileged corresponding flag clear bit(s) of the
DMA_SSC register.