R01UH0823EJ0100 Rev.1.00
Page 347 of 1823
Jul 31, 2019
RX23W Group
18. DMA Controller (DMACA)
18.2.7
DMA Address Mode Register (DMAMD)
Note 1. Offset addition can be specified only for DMAC0.
DARA[4:0] Bits (Destination Address Extended Repeat Area)
These bits specify the extended repeat area on the destination address. The extended repeat area function is realized by
updating the specified lower address bits with the remaining upper address bits fixed. The size of the extended repeat
area can be any power of two between 2 bytes and 128 Mbytes.
When the lower address overflows the extended repeat area by address increment, the start address of the extended repeat
area is set. Similarly, when the lower address underflows the extended repeat area by address decrement, the end address
of the extended repeat area is set.
When the repeat area or block area is specified as a transfer destination, do not specify the extended repeat area on the
destination address. When repeat transfer or block transfer is selected, or when DMACm.DMTMD.DTS[1:0] = 00b (the
transfer destination is specified as the repeat area or block area), write 00000b in the DARA[4:0] bits.
An interrupt can be requested when an overflow or underflow occurs in the extended repeat area with the DARIE bit in
DMINT set to 1.
lists the settings and the corresponding extended repeat areas.
DM[1:0] Bits (Destination Address Update Mode)
These bits select the mode of updating the destination address.
When increment is selected and the SZ[1:0] bits in DMTMD are set to 00b, 01b, and 10b, the destination address is
incremented by 1, 2, and 4, respectively.
When decrement is selected and the SZ[1:0] bits in DMTMD are set to 00b, 01b, and 10b, the destination address is
decremented by 1, 2, and 4, respectively.
When offset addition is selected, the offset specified by the DMAC0.DMOFR register is added to the address.
Offset addition can be specified only for DMAC0.
Address(es): DMAC0.DMAMD 0008 2014h, DMAC1.DMAMD 0008 2054h, DMAC2.DMAMD 0008 2094h, DMAC3.DMAMD 0008 20D4h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
SM[1:0]
—
SARA[4:0]
DM[1:0]
—
DARA[4:0]
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b4 to b0
Destination Address Extended
Repeat Area
Specifies the extended repeat area on the destination address.
For details on the settings, see Table 18.2.
R/W
b5
—
Reserved
This bit is read as 0. The write value should be 0.
R/W
b7, b6
Destination Address Update
Mode
b7 b6
0 0: Destination address is fixed.
0 1: Offset addition*
1 0: Destination address is incremented.
1 1: Destination address is decremented.
R/W
b12 to b8
Source Address Extended
Repeat Area
Specifies the extended repeat area on the source address. For
details on the settings, see Table 18.2.
R/W
b13
—
Reserved
This bit is read as 0. The write value should be 0.
R/W
b15, b14
Source Address Update Mode
b15 b14
0 0: Source address is fixed.
0 1: Offset addition*
1 0: Source address is incremented.
1 1: Source address is decremented.
R/W