262
10.4.3
Synchronizing Mode
In synchronizing mode, two or more timer counters can be rewritten simultaneously (synchronized
preset). Multiple timer counters can also be cleared simultaneously using TCR settings
(synchronized clear). Synchronizing mode enables the general registers to be incremented with a
single time base. All five channels can be set for synchronous operation.
Procedure for Selecting Synchronizing Mode (figure 10.26):
1. Set 1 in the SYNC bit of the timer synchro register (TSNC) to use the channels in the
synchronizing mode.
2. When a value is written in TCNT in any of the synchronized channels, the same value is
simultaneously written in TCNT in the other channels.
3. Set the counter to clear with compare match/input capture using bits CCLR1 and CCLR0 in
TCR.
4. Set the counter clear source to synchronized clear using the CCLR1 and CCLR0 bits.
5. Set the STR bits in TSTR to 1 to start the TCNT count.
Select counter
clear source
Channel that
generated clear
source?
No
Yes
Select synchronizing
mode
Set synchronizing mode
Synchronized preset
Set TCNT
Start counting
Select counter
clear source
Start counting
Counter clear
Synchronized clear
Synchronizing preset
Synchronized clear
(1)
(2)
(3)
(5)
(4)
(5)
Figure 10.26 Procedure for Selecting Synchronizing Mode
Summary of Contents for HD6417032
Page 21: ......
Page 35: ...xiv ...
Page 85: ...50 ...
Page 101: ...66 ...
Page 129: ...94 ...
Page 135: ...100 ...
Page 343: ...308 ...
Page 369: ...334 ...
Page 383: ...348 ...
Page 475: ...440 ...
Page 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Page 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Page 689: ...654 ...