RX610 Group
13. Data Transfer Controller (DTC)
R01UH0032EJ0120 Rev.1.20
Page 344 of 1006
Feb 20, 2013
13.3
Sources of Activation
The DTC is activated by an interrupt request. Setting ISEL[1:0] bits in an ISELRi register (where i is the interrupt vector
number of the given interrupt) of the ICU to 01b selects the corresponding interrupt as an activation source for the DTC,
and clearing the same bits to 00b selects the interrupt as a source of interrupts for the CPU.
On completion of a single round of data transfer (or the last of the consecutive transfers in the case of a chained transfer),
the flag for the interrupt that was the source of activation and the ISEL[1:0] bits in the corresponding ISELRi register are
cleared to 00b.
13.3.1
Allocating Transfer Data and DTC Vector Table
Transfer data is allocated in the data area. Be sure to set multiples of 4 for the transfer data start addresses in the vector
table. Because, such addresses are accessed with their lowest 2 bits fixed at 00b.
Transfer data can be allocated with 3 longwords (short-address mode) or 4 longwords (full-address mode). Use the
SHORT bit in DTCADMOD to select short-address mode (SHORT bit = 1) or full-address mode (SHORT bit = 0).
Figure 13.2 shows the allocation of transfer data in the data area. The DTC reads the transfer data start address for each
startup source, and then reads the transfer data from this start address. Figure 13.3 shows the DTC vector table and
transfer data.
Transfer data
per transfer
(4 longwords)
Transfer data for the
second transfer in
chain transfer mode
(4 longwords)
Transfer data for the
second transfer in
chain transfer mode
(3 longwords)
Start address
1(2)
0(3)
MRA
SAR
MRB
DAR
CRA
CRB
MRA
SAR
MRB
DAR
CRA
CRB
MRA
MRB
Reserved (0)
MRA
MRB
SAR
DAR
CRA
CRB
CRA
CRB
SAR
DAR
3(0)
2(1)
Allocation of transfer data
in short-address mode
Chain
transfer
Transfer data
per transfer
(3 longwords)
Allocation of transfer data
in full-address mode
Start address
4 bytes
Chain
transfer
Reserved (0)
4 bytes
Lower address
( ): Lower address to be allocated
in the big-endian area
1(2)
0(3)
3(0)
2(1)
Lower address
( ): Lower address to be allocated
in the big-endian area
Figure 13.2 Allocation of Transfer Data in the Data Area