r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 222

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
Section 8 Data Transfer Controller (DTC)
8.6
The procedure for using the DTC with interrupt activation is shown in figure 8.18.
Rev. 1.00 Sep. 21, 2007 Page 196 of 1124
REJ09B0402-0100
Clear corresponding
bit in DTCER
information in DTC vector table
Set starts address of transfer
Clear RRS bit in DTCCR to 0
DTC Activation by Interrupt
Corresponding bit in DTCER
request for activation source
Set RRS bit in DTCCR to 1
Interrupt request generated
DTC activation by interrupt
(MRA, MRB, SAR, DAR,
Set enable bit of interrupt
cleared or CPU interrupt
Set corresponding bit in
Set transfer information
clearing method of
activation source
DTC activated
Transfer end
DTCER to 1
CRA, CRB)
Determine
requested
to 1
Figure 8.18 Activation of DTC by Interrupt
Clear
activation
source
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
Clearing the RRS bit in DTCCR to 0 clears the read skip flag
of transfer information. Read skip is not performed when the
DTC is activated after clearing the RRS bit. When updating
transfer information, the RRS bit must be cleared.
Set the MRA, MRB, SAR, DAR, CRA, and CRB transfer
information in the data area. For details on setting transfer
information, see section 8.2, Register Descriptions. For details
on location of transfer information, see section 8.4, Location of
Transfer Information and DTC Vector Table.
Set the start address of the transfer information in the DTC
vector table. For details on setting DTC vector table, see section
8.4, Location of Transfer Information and DTC Vector Table.
Setting the RRS bit to 1 performs a read skip of second time or
later transfer information when the DTC is activated consecu-
tively by the same interrupt source. Setting the RRS bit to 1 is
always allowed. However, the value set during transfer will be
valid from the next transfer.
Set the bit in DTCER corresponding to the DTC activation
interrupt source to 1. For the correspondence of interrupts and
DTCER, refer to table 8.2. The bit in DTCER may be set to 1 on
the second or later transfer. In this case, setting the bit is not
needed.
Set the enable bits for the interrupt sources to be used as the
activation sources to 1. The DTC is activated when an interrupt
used as an activation source is generated. For details on the
settings of the interrupt enable bits, see the corresponding
descriptions of the corresponding module.
After the end of one data transfer, the DTC clears the activation
source flag or clears the corresponding bit in DTCER and
requests an interrupt to the CPU. The operation after transfer
depends on the transfer information. For details, see section
8.2, Register Descriptions and figure 8.4.

Related parts for r5f71374an80fpv