h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 376

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 10 16-Bit Timer Pulse Unit (TPU)
• Example of input capture operation
10.4.3
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 Sep 22, 2005 page 350 of 1136
REJ09B0257-0500
H'0180
H'0160
H'0010
H'0005
H'0000
TIOCA
TGRA
TIOCB
TGRB
Figure 10.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
Synchronous Operation
Figure 10.13 Example of Input Capture Operation
H'0005
H'0160
H'0180
Counter cleared by TIOCB
input (falling edge)
H'0010
Time

Related parts for h8s-2646