English
Language : 

HD64F3687GFPV Datasheet, PDF (257/538 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 13 Timer Z
1. Canceling Procedure of Complementary PWM Mode: Figure 13.30 shows the complementary
PWM mode canceling procedure.
Complementary PWM mode
Stop counter operation
[1]
Cancel complementary
[2]
PWM mode
[1] Clear bit CMD1 in TFCR to 0, and set
channels 0 and 1 to normal operation.
[2] After setting channels 0 and 1 to normal
operation, clear bits STR0 and STR1 in
TSTR to 0 and stop TCNT0 and TCNT1.
<Normal operation>
Figure 13.30 Canceling Procedure of Complementary PWM Mode
2. Examples of Complementary PWM Mode Operation: Figure 13.31 shows an example of
complementary PWM mode operation. In complementary PWM mode, TCNT_0 and TCNT_1
perform an increment or decrement operation. When TCNT_0 and GRA_0 are compared and
their contents match, the counter is decremented, and when TCNT_1 underflows, the counter
is incremented. In GRA_0, GRA_1, and GRB_1, compare match is carried out in the order of
TCNT_0 → TCNT_1 → TCNT_1 → TCNT_0 and PWM waveform is output, during one
cycle of a up/down counter. In this mode, the initial setting will be TCNT_0 > TCNT_1.
Rev.5.00 Nov. 02, 2005 Page 223 of 500
REJ09B0027-0500