Section 12 Timer Unit (TMU)
Rev. 5.00 May 29, 2006 page 336 of 698
REJ09B0146-0500
12.4.2
Input Capture Function
Channel 2 has an input capture function (figure 12.7). When using the input capture function, set
the TCLK pin to input mode with the TCOE bit in the timer output control register (TOCR) and
set the timer operation clock to internal clock or on-chip RTC clock with the TPCS2 to TPCS0
bits in the timer control register (TCR_2). Also, designate use of the input capture function and
whether to generate interrupts on using it with the IPCE1
and
IPCE0 bits in TCR_2, and designate
the use of either the rising or falling edge of the TCLK pin to set the timer counter (TCNT_2)
value into the input capture register (TCPR_2) with the CKEG1 and CKEG0 bits in TCR_2.
The input capture function cannot be used in standby mode.
TCNT_2 value
TCOR_2
H'00000000
TCLK
TCPR_2
Set TCNT_2 value
ICPI
TCOR_2 value set to
TCNT_2 during underflow
Time
Figure 12.7 Operation Timing when Using the Input Capture Function
(Using TCLK Rising Edge)
Summary of Contents for SH7706 Series
Page 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Page 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Page 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Page 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Page 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Page 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Page 749: ...SH7706 Group Hardware Manual ...