Datasheet
Section 5 Interrupt Controller
Rev. 3.00 Mar 21, 2006 page 113 of 788
REJ09B0300-0300
5.6.5 DTC Activation by Interrupt
The DTC can be activated by an interrupt. In this case, the following options are available:
• Interrupt request to CPU
• Activation request to DTC
• Selection of a number of the above
For details on interrupt requests that can be used to activate the DTC, see section 7, Data Transfer
Controller (DTC).
Figure 5.8 shows a block diagram of the DTC and interrupt controller.
Selection
circuit
DTCER
DTVECR
Control logic
Determination of
priority
CPU
DTC
Select
signal
IRQ
interrupt
On-chip
supporting
module
Clear signal
Interrupt controller
I, UI
Interrupt source
clear signal
Interrupt
request
DTC activation
request vector
number
CPU interrupt
request vector
number
SWDTE
clear signal
Clear signal
Figure 5.8 DTC and Interrupt Controller
Selection of Interrupt Source: Interrupt factors are selected as DTC activation source or CPU
interrupt source by the DTCE bit of DTCERA to DTCERE of DTC.
By specifying the DISEL bit of the DTC’s MRB, it is possible to clear the DTCE bit to 0 after
DTC data transfer, and request a CPU interrupt.
If DTC carries out the designate number of data transfers and the transfer counter reads 0, after
DTC data transfer, the DTCE bit is also cleared to 0, and an interrupt is requested to the CPU.