Interrupts; Figure 12.7 Operation Timing When Using Input Capture Function - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

TCNT value
TCOR
H'00000000
TCLK
TCPR2
TICPI2

Figure 12.7 Operation Timing when Using Input Capture Function

12.4

Interrupts

There are four TMU interrupt sources, comprising underflow interrupts and the input capture
interrupt (when the input capture function is used). Underflow interrupts are generated on
channels 0 to 4, and input capture interrupts on channel 2 only.
An underflow interrupt request is generated (on an individual channel basis) when TCR.UNF = 1
and the channel's interrupt enable bit is 1.
When the input capture function is used and an input capture request is generated, an interrupt is
requested if the input capture input flag (ICPF) in TCR2 is 1 and the input capture control bits
(ICPE1, ICPE0) in TCR2 are 11.
The TMU interrupt sources are summarized in table 12.3.
Rev. 3.0, 04/02, page 302 of 1064
TCOR value set in TCNT
on underflow
TCNT value set
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents