English
Language : 

SH7201 Datasheet, PDF (488/1196 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 12 Multi-Function Timer Pulse Unit 2 (MTU2)
(3) Input Capture Function:
The TCNT value can be transferred to TGR on detection of the TIOC pin input edge.
Rising edge, falling edge, or both edges can be selected as the detected edge. For channels 0 and 1,
it is also possible to specify another channel's counter input clock or compare match signal as the
input capture source.
Note: When another channel's counter input clock is used as the input capture input for channels
0 and 1, Pφ/1 should not be selected as the counter input clock used for input capture
input. Input capture will not be generated if Pφ/1 is selected.
(a) Example of Input Capture Operation Setting Procedure
Figure 12.10 shows an example of the input capture operation setting procedure.
Input selection
Select input capture input
Start count
<Input capture operation>
[1] Designate TGR as an input capture
[1]
register by means of TIOR, and select
rising edge, falling edge, or both edges
as the input capture source and input
signal edge.
[2]
[2] Set the CST bit in TSTR to 1 to start
the count operation.
Figure 12.10 Example of Input Capture Operation Setting Procedure
Rev. 2.00 Sep. 07, 2007 Page 460 of 1164
REJ09B0321-0200