English
Language : 

H8S-2633 Datasheet, PDF (635/1487 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer
Section 11 16-Bit Timer Pulse Unit (TPU)
Example of input capture operation: Figure 11.13 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, 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 11.13 Example of Input Capture Operation
11.4.3 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 5 can all be designated for synchronous operation.
Rev. 5.00 Mar 28, 2005 page 573 of 1422
REJ09B0234-0500