![Geehy SEMICONDUCTOR APM32F030x4x6x8xC Скачать руководство пользователя страница 74](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629074.webp)
www.geehy.com Page 73
9.5
Register Functional Description
DMA interrupt state register (DMA_INTSTS)
Offset address: 0x00
Reset value: 0x0000 0000
Field
Name
R/W
Description
16
,
12
,
8
,
4
,
0
GINTFLGx
R
ChannelxGlobal Interrupt Occur Flag (x=1…5)
Indicate whether TC, HT or TE interrupt is generated on the channel;
these bits are set to 1 by hardware; write 1 and clear on the
corresponding bit of DMA_INTFCLR.
0: Not generate
1: Generate
17
,
13
,
9
,
5
,
1
TCFLGx
R
ChannelxAll Transfer Complete Flag (x=1…5)
Indicate whether the transmission completion interrupt (TC) is
generated on the channel; these bits are set to 1 by hardware; write 1
and clear on the corresponding bit of DMA_INTFCLR.
0: Not completed
1: Completed
18
,
14
,
10
,
6
,
2
HTFLGx
R
ChannelxHalf Transfer Complete Flag (x=1…5)
Indicate whether the half transmission interrupt (HT) is generated on
the channel; these bits are set to 1 by hardware; write 1 and clear on
the corresponding bit of DMA_INTFCLR.
0: Not generate
1: Generate
19
,
15
,
11
,
7
,
3
TERRFLGx
R
ChannelxTransfer Error Occur Flag (x=1…5)
Indicate whether the transmission error interrupt (TE) is generated on
the channel; these bits are set to 1 by hardware; write 1 and clear on
the corresponding bit of DMA_INTFCLR.
0: Not generate
1: Generate
31:20
Reserved
DMA interrupt flag clear register (DMA_INTFCLR)
Offset address: 0x04
Reset value: 0x0000 0000
Field
Name
R/W
Description
16
,
12
,
8
,
4
,
0
GINTCLRx
W
ChannelxGlobal Interrupt Occur Flag Clear (x=1…5)
Clear the corresponding GINTFLG, TCFLG, HTFLG and TERRFLG
flags in the interrupt state register.
0: Invalid
1: Clear the GINTFLG flag
17
,
13
,
9
,
5
,
1
TCCLRx
W
ChannelxTransfer Complete Clear (x=1…5)
Clear the corresponding TCFLG flag in interrupt state register.
0: Invalid
1: Clear the TCFLG flag
DMA_CHSEL
DMA channel selection register
0xA8