ADuCM320 Hardware Reference Manual
UG-498
Rev. C | Page 67 of 196
REGISTER SUMMARY: DMA
Table 77. DMA Register Summary
Address
Name
Description
Reset
RW
0x40010000
DMASTA
DMA status
0x000F0000
R
0x40010004
DMACFG
DMA configuration
0x00000000
W
0x40010008
DMAPDBPTR
DMA channel primary control data base pointer
0x00000000
RW
0x4001000C
DMAADBPTR
DMA channel alternate control data base pointer
0x00000100
R
0x40010014
DMASWREQ
DMA channel software request
0x00000000
W
0x40010020
DMARMSKSET
DMA channel request mask set
0x00000000
RW
0x40010024
DMARMSKCLR
DMA channel request mask clear
0x00000000
W
0x40010028
DMAENSET
DMA channel enable set
0x00000000
RW
0x4001002C
DMAENCLR
DMA channel enable clear
0x00000000
W
0x40010030
DMAALTSET
DMA channel primary-alternate set
0x00000000
RW
0x40010034
DMAALTCLR
DMA channel primary-alternate clear
0x00000000
W
0x40010038
DMAPRISET
DMA channel priority set
0x00000000
RW
0x4001003C
DMAPRICLR
DMA channel priority clear
0x00000000
W
0x4001004C
DMAERRCLR
DMA per channel bus error
0x00000000
RW
0x40010800
DMABSSET
DMA channel bytes swap enable set
0x00000000
RW
0x40010804
DMABSCLR
DMA channel bytes swap enable clear
0x00000000
W
REGISTER DETAILS: DMA
DMA Status Register
Address: 0x40010000, Reset: 0x000F0000, Name: DMASTA
Table 78. Bit Descriptions for DMASTA
Bits
Bit Name
Description
Reset
Access
[31:21]
RESERVED
Reserved.
0x0
R
[20:16]
CHNLSM1
Number of available DMA channels minus 1. Number of available DMA
channels minus one. With 8 channels available, the register reads back 0x07.
0xF
R
[15:8]
RESERVED
Reserved. Undefined.
0x0
R
[7:4]
STATE
Current state of DMA controller. Current state of the DMA control state
machine. Provides insight into the operation performed by the DMA at the
time this register is read.
0x0
R
0000: idle
0001: reading channel controller data
0010: reading source data end pointer
0011: reading destination end pointer
0100: reading source data
0101: writing destination data
0110: waiting for DMA request to clear
0111: writing channel controller data
1000: stalled
1001: done
1010: peripheral scatter-gather transition
1011: undefined
...
1111: undefined
[3:1]
RESERVED
Reserved. Undefined.
0x0
R
0
MENABLE
Enable status of the controller.
0x0
R
0: controller is disabled
1: controller is enabled