
Page 139
4
9
4
f
o
5
0
2
,
1
0
.
l
u
J
3
0
.
1
.
v
e
R
3
0
1
0
-
7
3
0
B
9
0
J
E
R
13. DMAC
)
T
5
8
/
C
2
3
M
,
5
8
/
C
2
3
M
(
p
u
o
r
G
5
8
/
C
2
3
M
Figure 13.5 DMA0 to DMA3 Registers, DSA0 to DSA3 Registers and DRA0 to DRA3 Registers
Function
DMAi Memory Address Register (i=0 to 3)
Setting Range
Symbol
Address
After Reset
DMA0(2)
(CPU Internal Register)
XXXXXX16
DMA1(2)
(CPU Internal Register)
XXXXXX16
DMA2(bank1;A0)(3)
(CPU Internal Register)
00000016
DMA3(bank1;A1)(4)
(CPU Internal Register)
00000016
RW
00000016 to FFFFFF16
(16-Mbyte space)
Set a source memory address or destination
memory address(1)
RW
NOTES:
1. When the RWk bit (k=0 to 3) in the DMDj register (j=0, 1)is set to "0" (fixed address to memory), a
destination address is selected. When the RWk bit is set to "1" (memory to fixed address), a source
address is selected.
2. Use the LDC instruction to set the DMA0 and DMA1 registers.
3. To set the DMA2 register, set the B flag in the FLG register to "1" (register bank 1) and set the A0
register. Use the MOV instruction to set the A0 register.
4. To set the DMA3 register, set the B flag to "1" and set the A1 register. Use the MOV instruction to set
the A1 register.
b23
b16
b8 b7
b0
b15
Function
DMAi SFR Address Register (i=0 to 3)
Setting Range
Symbol
Address
After Reset
DSA0(2)
(CPU Internal Register)
XXXXXX16
DSA1(2)
(CPU Internal Register)
XXXXXX16
DSA2(bank1;SB)(3)
(CPU Internal Register)
00000016
DSA3(bank1;FB)(4)
(CPU Internal Register)
00000016
RW
00000016 to FFFFFF16
(16-Mbyte space)
Set a source fixed address or destination fixed
address(1)
RW
NOTES:
1. When the RWk bit (k=0 to 3) in the DMDj register (j=0, 1)is set to "0" (fixed address to memory), a
source address is selected. When the RWk bit is set to "1" (memory to fixed address), a destination
address is selected.
2. Use the LDC instruction to set the DSA0 and DSA1 registers.
3. To set the DSA2 register, set the B flag in the FLG register to "1" (register bank 1) and the set the SB
register. Use the LDC instruction to set the DSA2 register.
4. To set the DSA3 register, set the B flag to "1" and set the FB register. Use the LDC instruction to set
the DSA3 register.
b23
b16
b8 b7
b0
b15
Function
DMAi Memory Address Reload Register(1) (i=0 to 3)
Setting Range
Symbol
Address
After Reset
DRA0
(CPU Internal Register)
XXXXXX16
DRA1
(CPU Internal Register)
XXXXXX16
DRA2(SVP)(2)
(CPU Internal Register)
XXXXXX16
DRA3(VCT)(3)
(CPU Internal Register)
XXXXXX16
RW
00000016 to FFFFFF16
(16-Mbyte space)
Set a source memory address or destination
memory address(1)
RW
NOTES:
1. Use the LDC instruction to set the DRA0 and DRA1 registers.
2. To set the DRA2 register, set the SVP register.
3. To set the DRA3 register, set the VCT register.
b23
b16
b8 b7
b0
b15