RX610 Group
12. DMA Controller (DMAC)
R01UH0032EJ0120 Rev.1.20
Page 309 of 1006
Feb 20, 2013
enabling register in the ICU (IERi; i = 02h to 1Fh) must be set to 1, and the relevant interrupt destination setting register
of the ICU (ISELRi, where n is the interrupt vector number) must be set to select the DMAC as the destination of the
interrupt signal. For details, see the sections on the interrupt controller and various peripheral modules listed below.
•
Section 10, Interrupt Control Unit (ICU)
•
Section 15, 16-Bit Timer Pulse Unit (TPU)
•
Section 18, Compare Match Timer (CMT)
•
Section 20, Serial Communications Interface (SCI)
•
Section 22, I
2
C Bus Interface Unit (RIIC)
•
Section 23, A/D Converter
DRLOD Bit (Transfer Destination Address Reload Function Select)
This bit controls the transfer destination address reload function.
When the DRLOD bit is set to 1, the value of the DMA reload transfer destination address register (DMRDA) of
DMACm is reloaded to the DMA current transfer destination address register (DMCDA) of DMACm at the end of DMA
transfer.
When this reload function is not used, set the ECLR bit in DMCRC of DMACm to 1 (the DEN bit is cleared to 0 at the
end of DMA transfer) to clear the DEN bit in DMCRE of DMACm to 0 (DMA transfer disabled).
SRLOD Bit (Transfer Source Address Reload Function Select)
This bit controls the transfer source address reload function.
When the SRLOD bit is set to 1, the value of the DMA reload transfer source address register (DMRSA) of DMACm is
reloaded to the DMA current transfer source address register (DMCSA) of DMACm at the end of DMA transfer.
When this reload function is not used, set the ECLR bit in DMCRC of DMACm to 1 to clear the DEN bit in DMCRE of
DMACm to 0.
BRLOD Bit (Transfer Byte Count Reload Function Select)
This bit controls the transfer byte count reload function.
When the BRLOD bit is set to 1, the value of the DMA reload transfer byte count register (DMRBC) of DMACm is
reloaded to the DMA current transfer byte count register (DMCBC) of DMACm at the end of DMA transfer.
When this reload function is not used, set the ECLR bit in DMCRC of DMACm to 1 to clear the DEN bit in DMCRE of
DMACm to 0.
DSEL[1:0] Bits (Transfer System Select)
The DSEL[1:0] bits select a transfer system.
Do not set these bits during data transfer, but set them while the DMAC is not active or DMA transfer is disabled.