HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 619

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Example of Synchronous Operation Setting Procedure: Figure 18.11 shows an example of the
synchronous operation setting procedure.
[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
[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.
<Synchronous presetting>
Synchronous presetting
Synchronous operation
is simultaneously written to the other TCNT counters.
Set synchronous
Set TCNT
operation
selection
Figure 18.11 Example of Synchronous Operation Setting Procedure
[1]
[2]
Synchronous clearing
<Counter clearing>
source generation
clearing source
Select counter
Start count
channel?
Clearing
Yes
Section 18 Multi-Function Timer Pulse Unit (MTU)
Rev. 4.00 Sep. 14, 2005 Page 569 of 982
No
[3]
[5]
<Synchronous clearing>
Set synchronous
counter clearing
Start count
REJ09B0023-0400
[4]
[5]

Related parts for HD6417641