English
Language : 

HD6432345 Datasheet, PDF (203/907 Pages) Hitachi Semiconductor – H8S/2345 F-ZTAT Hardware Manual
7.3.2 Activation Sources
The DTC operates when activated by an interrupt or by a write to DTVECR by software. An
interrupt request can be directed to the CPU or DTC, as designated by the corresponding DTCER
bit. An interrupt becomes a DTC activation source when the corresponding bit is set to 1, and a
CPU interrupt source when the bit is cleared to 0.
At the end of a data transfer (or the last consecutive transfer in the case of chain transfer), the
activation source or corresponding DTCER bit is cleared. Table 7.3 shows activation source and
DTCER clearance. The activation source flag, in the case of RXI0, for example, is the RDRF flag
of SCI0.
Table 7.3 Activation Source and DTCER Clearance
When the DISEL Bit Is 0 and
the Specified Number of
Activation Source Transfers Have Not Ended
Software activation The SWDTE bit is cleared to 0
Interrupt activation
The corresponding DTCER bit
remains set to 1
The activation source flag is
cleared to 0
When the DISEL Bit Is 1, or when
the Specified Number of Transfers
Have Ended
The SWDTE bit remains set to 1
An interrupt is issued to the CPU
The corresponding DTCER bit is cleared
to 0
The activation source flag remains set to 1
A request is issued to the CPU for the
activation source interrupt
Figure 7.3 shows a block diagram of activation source control. For details see section 5, Interrupt
Controller.
Source flag cleared
Clear
DTCER
Select
Clear
controller
Clear request
On-chip
supporting
module
IRQ interrupt
DTVECR
Interrupt
request
DTC
Interrupt controller
Interrupt mask
CPU
Figure 7.3 Block Diagram of DTC Activation Source Control
185