Interrupt Sources; Interrupt Source And Priority; Table 12.25 Tpu Interrupts - Renesas H8S/2437 Hardware Manual

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

Advertisement

12.6

Interrupt Sources

12.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/disable
bit, allowing generation of interrupt request signals to be enabled or disabled individually.
When an interrupt source 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 within a channel is fixed. For details, see
section 5, Interrupt Controller. Table 12.25 lists the TPU interrupt sources.

Table 12.25 TPU Interrupts

Channel Name
0
TGI0A
TGI0B
TGI0C
TGI0D
TCI0V
1
TGI1A
TGI1B
TCI1V
TCI1U
2
TGI2A
TGI2B
TCI2V
TCI2U
Note:
* This table shows the initial state immediately after a reset. The relative channel
priorities can be changed by the interrupt controller.
Rev. 1.00, 09/03, page 348 of 704
Interrupt Source
TGRA_0 input capture/compare match
TGRB_0 input capture/compare match
TGRC_0 input capture/compare match
TGRD_0 input capture/compare match
TCNT_0 overflow
TGRA_1 input capture/compare match
TGRB_1 input capture/compare match
TCNT_1 overflow
TCNT_1 underflow
TGRA_2 input capture/compare match
TGRB_2 input capture/compare match
TCNT_2 overflow
TCNT_2 underflow
Interrupt Flag
TGFA
TGFB
TGFC
TGFD
TCFV
TGFA
TGFB
TCFV
TCFU
TGFA
TGFB
TCFV
TCFU
Priority*
High
Low

Advertisement

Table of Contents
loading

Table of Contents