9
9-18
Ver.0.10
DMAC
9.2 DMAC Related Registers
9.2.3 DMA Source Address Registers
I
DMA0 Source Address Register (DM0SA)
I
DMA1 Source Address Register (DM1SA)
I
DMA2 Source Address Register (DM2SA)
I
DMA3 Source Address Register (DM3SA)
I
DMA4 Source Address Register (DM4SA)
I
DMA5 Source Address Register (DM5SA)
I
DMA6 Source Address Register (DM6SA)
I
DMA7 Source Address Register (DM7SA)
I
DMA8 Source Address Register (DM8SA)
I
DMA9 Source Address Register (DM9SA)
<Address: H'0080 0412>
<Address: H'0080 0422>
<Address: H'0080 0432>
<Address: H'0080 0442>
<Address: H'0080 0452>
<Address: H'0080 041A>
<Address: H'0080 042A>
<Address: H'0080 043A>
<Address: H'0080 044A>
<Address: H'0080 045A>
D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
D15
DM0SA - DM9SA
<When reset : Indeterminate>
D
Bit Name
Function
R
W
0 - 15
DM0SA - DM9SA
A16-A31 of the source address
(A0-A15 are fixed to H'0080)
Note:
This register must always be accessed in halfwords.
The DMA Source Address Register is used to set the source address of DMA transfer in such a way
that D0 corresponds to A16, and D15 corresponds to A31. Because this register is comprised of a
current register, the value you get by reading this register is always the current value.
When DMA transfer finishes (at which the Transfer Count Register underflows), the value in this
register if "Address fixed" is selected, is the same source address that was set in it before DMA
transfer began; if "Address incremental" is selected, the value in this register is the last transfer
address + 1 (for 8-bit transfer) or the last transfer address + 2 (for 16-bit transfer).
Make sure the DMA Source Address Register is always accessed in halfwords (16 bits) beginning
with an even address. If accessed in bytes, the value read from this register is indeterminate.
DM0SA-DM9SA (A16-A31 of the source address)
By setting this register, specify the source address of DMA transfer in internal I/O space ranging
from H'0080 0000 to H'0080 FFFF or in the RAM space.
The 16 high-order bits of the source address (A0-A15) are always fixed to H'0080. Use this
register to set the 16 low-order bits of the source address (with D0 corresponding to A16, and
D15 corresponding to A31).