English
Language : 

SH7101 Datasheet, PDF (176/486 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
8. Multi-Function Timer Pulse Unit (MTU)
Example of Input Capture Operation: Figure 8.10 shows an example of input capture operation.
In this example both rising and falling edges have been selected as the TIOCA pin input capture
input edge, the falling edge has been selected as the TIOCB pin input capture input edge, and
counter clearing by TGRB input capture has been designated for TCNT.
TCNT value
H'0180
H'0160
Counter cleared by TIOCB
input (falling edge)
H'0010
H'0005
H'0000
TIOCA
TGRA
H'0005
H'0160
Time
H'0010
TIOCB
TGRB
H'0180
Figure 8.10 Example of Input Capture Operation
8.4.2 Synchronous Operation
In synchronous operation, the values in a number of TCNT counters can be rewritten
simultaneously (synchronous presetting). Also, a number of TCNT counters can be cleared
simultaneously by making the appropriate setting in TCR (synchronous clearing).
Synchronous operation enables TGR to be incremented with respect to a single time base.
Channels 0 to 4 can all be designated for synchronous operation.
Rev.2.00 Sep. 27, 2007 Page 142 of 448
REJ09B0394-0200