Rev. 3.0, 10/02, page 311 of 686
10.6
Interrupts
10.6.1
Interrupt Source and Priority
There are three kinds of TPU interrupt source: TGR input capture/compare match, TCNT
overflow, and TCNT underflow. Each interrupt source has its own status flag and enable/disabled
bit, allowing generation of interrupt request signals to be enabled or disabled individually. When
an interrupt request is generated, the corresponding status flag in TSR is set to 1. If the
corresponding enable/disable bit in TIER is set to 1 at this time, an interrupt is requested. The
interrupt request is cleared by clearing the status flag to 0. Relative channel priorities can be
changed by the interrupt controller, but the priority order within a channel is fixed. For details, see
section 5, Interrupt Controller. Table 10.24 lists the TPU interrupt sources.
Table 10.24
TPU Interrupts
Channel
Name
Interrupt Source
Interrupt
Flag
DTC
Activation
DMAC
Activation
Priority
*
TGI0A
TGRA_0 input
capture/compare match
TGFA
Possible
Possible
High
TGI0B
TGRB_0 input
capture/compare match
TGFB
Possible
Not possible
TGI0C
TGRC_0 input
capture/compare match
TGFC
Possible
Not possible
TGI0D
TGRD_0 input
capture/compare match
TGFD
Possible
Not possible
0
TCI0V
TCNT_0 overflow
TCFV
Not possible Not possible
TGI1A
TGRA_1 input
capture/compare match
TGFA
Possible
Possible
TGI1B
TGRB_1 input
capture/compare match
TGFB
Possible
Not possible
TCI1V
TCNT_1 overflow
TCFV
Not possible Not possible
1
TCI1U
TCNT_1 underflow
TCFU
Not possible Not possible
TGI2A
TGRA_2 input
capture/compare match
TGFA
Possible
Possible
TGI2B
TGRB_2 input
capture/compare match
TGFB
Possible
Not possible
TCI2V
TCNT_2 overflow
TCFV
Not possible Not possible
2
TCI2U
TCNT_2 underflow
TCFU
Not possible Not possible Low
Note:
*
This table shows the initial state immediately after a reset. The relative channel priorities
can be changed by the interrupt controller.
Summary of Contents for H8S/2215 Series
Page 4: ...Rev 3 0 10 02 page iv of lviii ...
Page 6: ...Rev 3 0 10 02 page vi of lviii ...
Page 28: ...Rev 3 0 10 02 page xxviii of lviii ...
Page 122: ...Rev 3 0 10 02 page 64 of 686 ...
Page 132: ...Rev 3 0 10 02 page 74 of 686 ...
Page 156: ...Rev 3 0 10 02 page 98 of 686 ...
Page 198: ...Rev 3 0 10 02 page 140 of 686 ...
Page 320: ...Rev 3 0 10 02 page 262 of 686 ...
Page 384: ...Rev 3 0 10 02 page 326 of 686 ...
Page 474: ...Rev 3 0 10 02 page 416 of 686 ...
Page 608: ...Rev 3 0 10 02 page 550 of 686 ...
Page 614: ...Rev 3 0 10 02 page 556 of 686 ...
Page 650: ...Rev 3 0 10 02 page 592 of 686 ...
Page 652: ...Rev 3 0 10 02 page 594 of 686 ...
Page 680: ...Rev 3 0 10 02 page 622 of 686 ...
Page 732: ...Rev 3 0 10 02 page 674 of 686 ...
Page 740: ...Rev 3 0 10 02 page 682 of 686 ...