Dma Source Address Registers - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

9

9.2.3 DMA Source Address Registers

DMA0 Source Address Register (DM0SA)
DMA1 Source Address Register (DM1SA)
DMA2 Source Address Register (DM2SA)
DMA3 Source Address Register (DM3SA)
DMA4 Source Address Register (DM4SA)
DMA5 Source Address Register (DM5SA)
DMA6 Source Address Register (DM6SA)
DMA7 Source Address Register (DM7SA)
DMA8 Source Address Register (DM8SA)
DMA9 Source Address Register (DM9SA)
D0
1
2
D
Bit Name
0 - 15
DM0SA - DM9SA
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).
3
4
5
6
DM0SA - DM9SA
Function
A16-A31 of the source address
(A0-A15 are fixed to H'0080)
9-18
9.2 DMAC Related Registers
7
8
9
10
11
DMAC
<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>
12
13
14
D15
<When reset : Indeterminate>
R
Ver.0.10
W

Advertisement

Table of Contents
loading

Table of Contents