Section 5 Interrupt Controller
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
• Both 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.11 shows a block diagram of the DTC and interrupt controller.
IRQ
interrupt
Interrupt source
On-chip
clear signal
peripheral
module
The interrupt controller has three main functions in DTC control.
(1)
Selection of Interrupt Source
It is possible to select a DTC activation request or CPU interrupt request for an interrupt source
with the DTCE bit in DTCERA to DTCERE of the DTC. After a DTC data transfer, the DTCE bit
can be cleared to 0 and an interrupt request sent to the CPU in accordance with the specification of
the DISEL bit in MRB of the DTC. When the DTC performs the specified number of data
transfers and the transfer counter reaches 0, following the DTC data transfer the DTCE bit is
cleared to 0 and an interrupt request is sent to the CPU.
Rev. 3.00 Jul. 14, 2005 Page 120 of 986
REJ09B0098-0300
Interrupt
request
Selection
circuit
Select
signal
DTCER
DTVECR
clear signal
Interrupt controller
Figure 5.11 Interrupt Control for DTC
Control logic
Clear signal
SWDTE
Determination of
priority
DTC activation
request vector
number
DTC
Clear signal
CPU interrupt
request vector
number
CPU
I, UI