Datasheet

Table Of Contents
Section 14 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Jul. 04, 2007 Page 297 of 692
REJ09B0309-0200
(2) Example of Synchronous Operation
Figure 14.14 shows an example of synchronous operation.
In this example, synchronous operation and PWM mode 1 have been designated for channels 1
and 2, TGRB_1 compare match has been set as the channel 1 counter clearing source, and
synchronous clearing has been set for the channel 2 counter clearing source.
Two-phase PWM waveforms are output from pins TIOC1A and TIOC2A. At this time,
synchronous presetting, and synchronous clearing by TGRB_1 compare match, are performed for
channel 1 and 2 TCNT counters, and the data set in TGRB_1 is used as the PWM cycle.
For details on PWM modes, see section 14.5.4, PWM Modes.
TCNT_1 and TCNT_2
H'0000
TIOCA1
Time
Synchronous clearing by TGRB_1 compare match
TGRA_2
TGRA_1
TGRB_2
TGRB_1
TIOCA2
Figure 14.14 Example of Synchronous Operation