English
Language : 

SH7014 Datasheet, PDF (267/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
10. Multifunction Timer Pulse Unit (MTU)
Procedure for Selecting the Synchronizing Mode (Figure 10.14):
1. Set 1 in the SYNC bit of the timer synchro register (TSYR) to use the corresponding channel
in the synchronizing mode.
2. When a value is written in the TCNT in any of the synchronized channels, the same value is
simultaneously written in the TCNT in the other channels.
3. Set the counter to clear with output compare/input capture using bits CCLR2 to CCLR0 in the
TCR.
4. Set the counter clear source to synchronized clear using the CCLR2 to CCLR0 bits of the
TCR.
5. Set the CST bits for the corresponding channels in the TSTR to 1 to start counting in the
TCNT.
Select
synchronizing mode
Set synchronizing 1
mode
Synchronized preset
Synchronized clear
Set TCNT
2
Channel that
No
generated clear
source?
Yes
Select counter
3
clear source
Start counting
5
Set counter
4
synchronous clear
Start counting
5
Synchronized preset
Counter clear
Synchronized clear
Figure 10.14 Procedure for Selecting Synchronizing Operation
Rev.5.00 Sep. 27, 2007 Page 233 of 716
REJ09B0398-0500