Figure 18.22 Example Of Pwm Mode Operation (2) - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Figure 18.22 shows an example of PWM mode 2 operation.
In this example, synchronous operation is designated for channels 0 and 1, TGRB_1 compare
match is set as the TCNT clearing source, and 0 is set for the initial output value and 1 for the
output value of the other TGR registers (TGRA_0 to TGRD_0, TGRA_1), outputting a 5-phase
PWM waveform.
In this case, the value set in TGRB_1 is used as the cycle, and the values set in the other TGRs are
used as the duty levels.
TCNT value
TGRB_1
TGRA_1
TGRD_0
TGRC_0
TGRB_0
TGRA_0
H'0000
TIOC0A
TIOC0B
TIOC0C
TIOC0D
TIOC1A

Figure 18.22 Example of PWM Mode Operation (2)

Section 18 Multi-Function Timer Pulse Unit (MTU)
Counter cleared by
TGRB_1 compare match
Rev. 4.00 Sep. 14, 2005 Page 579 of 982
Time
REJ09B0023-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents