Section 5
Interrupt Controller
Rev.2.00 Jun. 28, 2007 Page 113 of 666
REJ09B0311-0200
Figure 5.6 shows a block diagram of the DTC and interrupt controller.
DTCER
Select signal
IRQ
interrupt
Interrupt controller
Clear signal
I, I2 to I0
Clear signal
DTC/CPU
select
circuit
DTC control
circuit
Priority
determination
DTC
CPU
Interrupt request clear signal
Interrupt request
DTC activation request
vector number
CPU interrupt request
vector number
On-chip
peripheral
module
Interrupt request clear signal
Interrupt request
Figure 5.6 Block Diagram of DTC and Interrupt Controller
(1)
Selection of Interrupt Sources
Each interrupt source is set for a DTC activation request or a CPU interrupt request by the DTCE
bit in DTCERA to DTCERH of the DTC.
Specifying the DISEL bit in MRB of the DTC generates an interrupt request to the CPU by
clearing the DTCE bit to 0 after the individual DTC data transfer.
Note that when the DTC performs a predetermined number of data transfers and the transfer
counter indicates 0, an interrupt request is also made to the CPU by clearing the DTCE bit to 0
after the DTC data transfer.
When the same interrupt source is set as both the DTC activation source and CPU interrupt source,
the DTC must be given priority over the CPU. If the IPSETE is set to 1, the priority is determined
according to the IPR setting. Therefore, the CPUP setting or the IPR setting corresponding to the
interrupt source must be set to lower than or equal to the DTCP setting. If the CPU is given
priority over the DTC, the DTC may not be activated, and the data transfer may not be performed.
(2)
Priority Determination
The DTC activation source is selected according to the default priority, and the selection is not
affected by its mask level or priority level. For respective priority levels, see table 7.1, Interrupt
Sources, DTC Vector Addresses, and Corresponding DTCEs.
Summary of Contents for H8SX/1650
Page 2: ...Rev 2 00 Jun 28 2007 Page ii of xxii...
Page 106: ...Section 4 Exception Handling Rev 2 00 Jun 28 2007 Page 84 of 666 REJ09B0311 0200...
Page 142: ...Section 5 Interrupt Controller Rev 2 00 Jun 28 2007 Page 120 of 666 REJ09B0311 0200...
Page 326: ...Section 8 I O Ports Rev 2 00 Jun 28 2007 Page 304 of 666 REJ09B0311 0200...
Page 470: ...Section 12 Watchdog Timer WDT Rev 2 00 Jun 28 2007 Page 448 of 666 REJ09B0311 0200...
Page 566: ...Section 14 A D Converter Rev 2 00 Jun 28 2007 Page 544 of 666 REJ09B0311 0200...
Page 574: ...Section 16 RAM Rev 2 00 Jun 28 2007 Page 552 of 666 REJ09B0311 0200...
Page 584: ...Section 17 Clock Pulse Generator Rev 2 00 Jun 28 2007 Page 562 of 666 REJ09B0311 0200...
Page 638: ...Section 19 List of Registers Rev 2 00 Jun 28 2007 Page 616 of 666 REJ09B0311 0200...
Page 668: ...Section 20 Electrical Characteristics Rev 2 00 Jun 28 2007 Page 646 of 666 REJ09B0311 0200...
Page 676: ...Appendix Rev 2 00 Jun 28 2007 Page 654 of 666 REJ09B0311 0200...
Page 688: ...Rev 2 00 Jun 28 2007 Page 666 of 666 REJ09B0311 0200...
Page 691: ......
Page 692: ...H8SX 1650 Group Hardware Manual...