Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
146
/
631
Bit field
Name
Description
5
CIRC
Circular mode.
Software can set/clear this bit.
0: Channel will stop after one round of transfer.
1: Channel configure as circular mode.
4
DIR
Data transfer direction
Software can set/clear this bit.
0: Data transfer from Peripheral to Memory
1: Data transfer from Memory to Peripheral.
3
ERRIE
Transfer error interrupt enable.
Software can enable/disable transfer error interrupt.
0: Disable transfer error interrupt of channel x.
1: Enable transfer error interrupt of channel x.
2
HTXIE
Half transfer interrupt enable.
Software can enable/disable half transfer interrupt.
0: Disable half transfer interrupt of channel x.
1: Enable half transfer interrupt of channel x.
1
TXCIE
Transfer complete interrupt enable.
Software can enable/disable transfer complete interrupt.
0: Disable transfer complete interrupt of channel x
.
1: Enable transfer complete interrupt of channel x.
0
CHEN
Channel enable.
Software can set/reset this bit
.
0: Disable channel.
1: Enable channel.
DMA channel x transfer number register (DMA_TXNUMx)
Note
:
The x is channel number, x = 1…8
Address offset: 0x0c+20 * (x–1)
Reset value: 0x0000 0000
Bit field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained.
15:0
NDTX
Number of data to transfer.
Number of data to be transferred (0
~
65535). Software can read/write the number of