Rev. 1.00, 09/03, page 348 of 704
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
Interrupt Source
Interrupt Flag
Priority
*
TGI0A
TGRA_0 input capture/compare match
TGFA
High
TGI0B
TGRB_0 input capture/compare match
TGFB
TGI0C
TGRC_0 input capture/compare match
TGFC
TGI0D
TGRD_0 input capture/compare match
TGFD
0
TCI0V
TCNT_0 overflow
TCFV
TGI1A
TGRA_1 input capture/compare match
TGFA
TGI1B
TGRB_1 input capture/compare match
TGFB
TCI1V
TCNT_1 overflow
TCFV
1
TCI1U
TCNT_1 underflow
TCFU
TGI2A
TGRA_2 input capture/compare match
TGFA
TGI2B
TGRB_2 input capture/compare match
TGFB
TCI2V
TCNT_2 overflow
TCFV
2
TCI2U
TCNT_2 underflow
TCFU
Low
Note:
*
This table shows the initial state immediately after a reset. The relative channel
priorities can be changed by the interrupt controller.
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...