
331
Procedure for Selecting the Synchronizing Mode (Figure 12.15):
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–CCLR0 in the
TCR.
4.Set the counter clear source to synchronized clear using the CCLR2–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 counter
clear source
Channel that
generated clear
source?
No
Yes
Select
synchronizing mode
Set synchronizing
mode
Synchronized preset
Set TCNT
Start counting
Set counter
synchronous clear
Start counting
Counter clear
Synchronized clear
Synchronized preset
Synchronized clear
1
2
3
5
4
5
Figure 12.15 Procedure for Selecting Synchronizing Operation
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...