Datasheet
Section 14 Timer RD
Rev. 1.50 Sep. 18, 2007 Page 328 of 584
REJ09B0240-0150
(2) Examples of Complementary PWM Mode Operation
Figure 14.34 shows an example of complementary PWM mode operation. In complementary
PWM mode, TRDCNT_0 and TRDCNT_1 perform an increment or decrement operation. When
TRDCNT_0 and GRA_0 are compared and their contents match, the counter is decremented, and
when TRDCNT_1 underflows, the counter is incremented. In GRA_0, GRA_1, and GRB_1,
compare match is carried out in the order of TRDCNT_0 → TRDCNT_1 → TRDCNT_1 →
TRDCNT_0 and PWM waveform is output, during one cycle of a up/down counter. In this mode,
the initial setting will be TRDCNT_0 > TRDCNT_1.
GRA_0
GRB_0
GRA_1
GRB_1
TRDCNT values
TRDCNT_0 and GRA_0 are compared and their contents match
Time
H'0000
FTIOA1
FTIOB1
FTIOB0
FTIOC1
FTIOD1
FTIOC0
FTIOD0
Figure 14.34 Example of Complementary PWM Mode Operation (1)










