English
Language : 

SH7052 Datasheet, PDF (386/919 Pages) Renesas Technology Corp – SuperHTM RISC engine
10.4 Interrupts
The ATU has 75 interrupt sources of five kinds: input capture interrupts, compare-match
interrupts, overflow interrupts, underflow interrupts, and interval interrupts.
10.4.1 Status Flag Setting Timing
IMF (ICF) Setting Timing in Input Capture: When an input capture signal is generated, the
IMF bit and ICF bit are set to 1 in the timer status register (TSR), and the TCNT value is
simultaneously transferred to the corresponding GR, ICR and OSBR.
The timing in this case is shown in figure 10.37.
In the example in figure 10.37, a signal is input from an external pin, and input capture is
performed on detection of a rising edge.
CK
Input capture input
Internal input capture
signal
TCNT
tTICS (input capture input setup time)
N
GR (ICR)
N
Interrupt status flag
IMF (ICF)
Interrupt request signal
IMI (ICI)
Figure 10.37 IMF (ICF) Setting Timing in Input Capture
360