Figure 12.26 Example Of Pwm Mode Operation (2) - Renesas H8S/2437 Hardware Manual

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

Figure 12.26 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), to output a 5-phase
PWM waveform. In this case, the value set in TGRB_1 is used as the period, and the values set
in the other TGRs as the duty.
TCNT value
TGRB_1
TGRA_1
TGRD_0
TGRC_0
TGRB_0
TGRA_0
H'0000
TIOCA0
TIOCB0
TIOCC0
TIOCD0
TIOCA1

Figure 12.26 Example of PWM Mode Operation (2)

Counter cleared by
TGRB_1 compare match
Rev. 1.00, 09/03, page 341 of 704
Time

Advertisement

Table of Contents
loading

Table of Contents