Example of Synchronization: Figure 10-27 shows an example of synchronization. Channels 0, 1,
and 2 are synchronized, and are set to operate in PWM mode. Channel 0 is set for counter clearing
by compare match with GRB0. Channels 1 and 2 are set for synchronous counter clearing. The
timer counters in channels 0, 1, and 2 are synchronously preset, and are synchronously cleared by
compare match with GRB0. A three-phase PWM waveform is output from pins TIOCA
0
,
TIOCA
1
, and TIOCA
2
. For further information on PWM mode, see section 10.4.4, PWM Mode.
Figure 10-27 Synchronization (Example)
Time
TIOCA
1
TIOCA
0
GRA2
GRA1
GRB2
GRA0
GRB1
GRB0
Value of TCNT0 to TCNT2
Cleared by compare match with GRB0
H'0000
347
www.DataSheet4U.com