DMA Registers
5-8
5.2.1
DMA Channel Control Registers
The DMA channel primary and secondary control registers (Figure 5–2 and
Figure 5–3) contain-fields that control each DMA channel independently. These
fields are summarized in Table 5–3 and Table 5–4.
Figure 5–2. DMA Channel Primary Control Register
31 30
29 28
27
26
25
24
23 19
18 16
DST RELOAD
SRC RELOAD
EMOD
FS
TCINT
PRI
WSYNC
RSYNC
RW, +0
RW, +0
RW,+0
RW,+0
RW, +0
RW, +0
RW, +0
RW, +0
15 14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSYNC
INDEX
CNT
RELOAD
SPLIT
ESIZE
DST DIR
SRC DIR
STATUS
START
RW, +0
RW, +0
RW, +0
RW, +0
RW, +0
RW, +0
RW, +0
R, +0
RW, +0
Table 5–3. DMA Channel Primary Control Register Field Descriptions
Field
Description
Section
DST RELOAD,
SRC RELOAD
Source/destination address reload for autoinitialization
SRC/DST RELOAD = 00b: do not reload during autoinitialization
SRC/DST RELOAD = 01b: use DMA global address register B as reload
SRC/DST RELOAD = 10b: use DMA global address register C as reload
SRC/DST RELOAD = 11b: use DMA global address register D as reload
5.4.1.1
EMOD
Emulation mode
EMOD = 0: DMA channel keeps running during an emulation halt
EMOD = 1: DMA channel pauses during an emulation halt
5.13
FS
Frame synchronization
FS = 0: disable
FS = 1: RSYNC event used to synchronize entire frame
5.6
TCINT
Transfer controller interrupt
TCINT = 0: interrupt disabled
TCINT = 1: interrupt enabled
5.10
PRI
Priority mode: DMA versus CPU
PRI = 0: CPU priority
PRI = 1: DMA priority
5.9
WSYNC,
RSYNC
Read transfer/write transfer synchronization
(R/W)SYNC = 00000b: no synchronization
(R/W)SYNC = other: sets synchronization event
5.6