CHAPTER 6 DMA FUNCTIONS (DMA CONTROLLER)
213
User’s Manual U14359EJ4V0UM
6.3.4 DMA addressing control registers 0 to 3 (DADC0 to DADC3)
These 16-bit registers are used to control the DMA transfer mode for DMA channel n (n = 0 to 3). These registers
cannot be accessed during DMA operation.
They can be read/written in 16-bit units.
(1/2)
15
DS1
DADC0
Address
FFFFF0D0H
After reset
0000H
14
DS0
13
0
12
0
11
0
10
0
9
0
8
0
7
SAD1
6
SAD0
5
DAD1
4
DAD0
3
TM1
2
TM0
1
TTYP
0
TDIR
DS1
DADC1
FFFFF0D2H
0000H
DS0
0
0
0
0
0
0
SAD1 SAD0 DAD1 DAD0 TM1 TM0 TTYP TDIR
DS1
DADC2
FFFFF0D4H
0000H
DS0
0
0
0
0
0
0
SAD1 SAD0 DAD1 DAD0 TM1 TM0 TTYP TDIR
DS1
DADC3
FFFFF0D6H
0000H
DS0
0
0
0
0
0
0
SAD1 SAD0 DAD1 DAD0 TM1 TM0 TTYP TDIR
Bit position
Bit name
Function
Data Size
Sets the transfer data size for DMA transfer.
DS1
DS0
Transfer data size
0
0
8 bits
0
1
16 bits
1
0
Setting prohibited
1
1
Setting prohibited
15, 14
DS1, DS0
Source Address count Direction
Sets the count direction of the source address for DMA channel n (n = 0 to 3).
SAD1
SAD0
Count direction
0
0
Increment
0
1
Decrement
1
0
Fixed
1
1
Setting prohibited
7, 6
SAD1,
SAD0
Destination Address count Direction
Sets the count direction of the destination address for DMA channel n (n = 0 to 3).
DAD1
DAD0
Count direction
0
0
Increment
0
1
Decrement
1
0
Fixed
1
1
Setting prohibited
5, 4
DAD1,
DAD0