English
Language : 

HD64F3687HV Datasheet, PDF (244/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Section 13 Timer Z
13.4.4 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 GR to be increased with respect to a single time base.
Figure 13.19 shows an example of the synchronous operation setting procedure.
Synchronous operation
selection
Set synchronous
operation
[1]
Synchronous presetting
Set TCNT
[2]
Synchronous clearing
Clearing
source generation
channel?
Yes
Select counter
clearing source
No
[3]
Start counter operation
[5]
Select counter
clearing source
[4]
Start counter operation
[5]
<Synchronous presetting>
<Counter clearing>
<Synchronous clearing>
[1] Set the SYNC bits in TMDR to 1.
[2] When a value is written to either of the TCNT counters, the same value is simultaneously written to the
other TCNT counter.
[3] Set bits CCLR1 and CCLR0 in TCR to specify counter clearing by compare match/input capture.
[4] Set bits CCLR1 and CCLR0 in TCR to designate synchronous clearing for the counter clearing source.
[5] Set the STR bit in TSTR to 1 to start the count operation.
Figure 13.19 Example of Synchronous Operation Setting Procedure
Rev.5.00 Nov. 02, 2005 Page 210 of 500
REJ09B0027-0500