Dtc Activation By Interrupt; Figure 5.9 Interrupt Control For Dtc - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

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 of interrupt requests that can be used to activate the DTC, see section 7, Data Transfer
Controller (DTC). Figure 5.9 shows a block diagram of the DTC and interrupt controller.
Interrupt
IRQ
interrupt
Interrupt source
On-chip
clear signal
peripheral
module
The interrupt controller has three main functions in DTC control.
Selection of Interrupt Source: It is possible to select DTC activation request or CPU interrupt
request with the DTCE bit of DTCERA to DTCERE in 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 of MRB in 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.
Determination of Priority: The DTC activation source is selected in accordance with the default
priority order, and is not affected by mask or priority levels. See section 7.4, Location of Register
Information and DTC Vector Table, for the respective priorities.
request
Selection
circuit
Select
signal
Clear signal
DTCER
DTVECR
clear signal
Interrupt controller

Figure 5.9 Interrupt Control for DTC

Control logic
SWDTE
Determination of
priority
Rev. 3.00 Jan 25, 2006 page 99 of 872
Section 5 Interrupt Controller
DTC activation
request vector
number
DTC
Clear signal
CPU interrupt
request vector
number
CPU
I, UI
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents