Renesas H8S Series Hardware Manual page 414

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Figure 10-26 shows an example of PWM mode 2 operation.
In this example, synchronous operation is designated for channels 0 and 1, TGR1B 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 (TGR0A to
TGR0D, TGR1A), to output a 5-phase PWM waveform.
In this case, the value set in TGR1B is used as the cycle, and the values set in the other TGRs as the duty.
TCNT value
TGR1B
TGR1A
TGR0D
TGR0C
TGR0B
TGR0A
H'0000
TIOCA0
TIOCB0
TIOCC0
TIOCD0
TIOCA1
Rev.6.00 Oct.28.2004 page 386 of 1016
REJ09B0138-0600H
Figure 10-26 Example of PWM Mode Operation (2)
Counter cleared by TGR1B
compare match
Time

Advertisement

Table of Contents
loading

Table of Contents