Figure 18.11 Example Of Synchronous Operation Setting Procedure - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Example of Synchronous Operation Setting Procedure: Figure 18.11 shows an example of the
synchronous operation setting procedure.
Synchronous operation
selection
Set synchronous
operation
Synchronous presetting
Set TCNT
<Synchronous presetting>
[1] Set to 1 the SYNC bits in TSYR corresponding to the channels to be designated for synchronous operation.
[2] When the TCNT counter of any of the channels designated for synchronous operation is written to, the same value
is simultaneously written to the other TCNT counters.
[3] Use bits CCLR2 to CCLR0 in TCR to specify TCNT clearing by input capture/output compare, etc.
[4] Use bits CCLR2 to CCLR0 in TCR to designate synchronous clearing for the counter clearing source.
[5] Set to 1 the CST bits in TSTR for the relevant channels, to start the count operation.

Figure 18.11 Example of Synchronous Operation Setting Procedure

[1]
Synchronous clearing
[2]
Clearing
source generation
channel?
Select counter
clearing source
Start count
<Counter clearing>
Section 18 Multi-Function Timer Pulse Unit (MTU)
No
Yes
[3]
[5]
Rev. 4.00 Sep. 14, 2005 Page 569 of 982
Set synchronous
counter clearing
Start count
<Synchronous clearing>
REJ09B0023-0400
[4]
[5]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents