English
Language : 

SH7760 Datasheet, PDF (570/1345 Pages) Renesas Technology Corp – SuperHTM RISC engine
TCNT value
TCOR
TCOR value set in TCNT
on underflow
H'0000 0000
TCLK
Time
TCPR2
TICPI2
TCNT value set
Figure 15.6 Operation Timing when Using Input Capture Function
15.5 Interrupts
There are four TMU interrupt sources: underflow interrupts and the input capture interrupt when
the input capture function is used. Underflow interrupts are generated on each of the channels, and
input capture interrupts on channel 2 only.
An underflow interrupt request is generated (for each channel) when both the UNF bit and the
interrupt enable bit (UNIE) for that channel are set to 1.
When the input capture function is used and an input capture request is generated, an interrupt is
requested if the ICPF bit in TCR2 is 1 and the input capture control bits (ICPE1 and ICPE0) in
TCR2 are both set to 11.
The TMU interrupt sources are summarized in table 15.3.
Table 15.3 TMU Interrupt Sources
Channel
0
1
2
Interrupt Source
TUNI0
TUNI1
TUNI2
TICPI2
Description
Underflow interrupt 0
Underflow interrupt 1
Underflow interrupt 2
Input capture interrupt 2
Priority
High
Low
Rev. 1.0, 02/03, page 520 of 1294