Download Print this page

Hitachi H8S/2633 Hardware Manual page 332

Advertisement

9.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 9-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 9-3
Activation Source and DTCER Clearance
Activation Source
Software activation The SWDTE bit is cleared to 0
Interrupt activation
Figure 9-3 shows a block diagram of activation source control. For details see section 5, Interrupt
Controller.
Source flag cleared
On-chip
supporting
module
IRQ interrupt
DTVECR
Figure 9-3 Block Diagram of DTC Activation Source Control
When the DISEL Bit Is 0 and
the Specified Number of
Transfers Have Not Ended
The corresponding DTCER bit
remains set to 1
The activation source flag is
cleared to 0
DTCER
Select
Interrupt
request
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
Clear
controller
Clear
Clear request
DTC
Interrupt controller
CPU
Interrupt mask
307

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631