Figure 12.15 Example Of Synchronous Operation - Renesas H8S/2437 Hardware Manual

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

Advertisement

Example of Synchronous Operation:
Figure 12.15 shows an example of synchronous operation.
In this example, synchronous operation and PWM mode 1 have been designated for channels 0 to
2, TGRB_0 compare match has been set as the channel 0 counter clearing source, and
synchronous clearing has been set for the channel 1 and 2 counter clearing source.
Three-phase PWM waveforms are output from pins TIOCA0, TIOCA1, and TIOCA2. At this
time, synchronous presetting, and synchronous clearing by TGRB_0 compare match, are
performed for the TCNT counters in channels 0 to 2, and the data set in TGRB_0 is used as the
PWM cycle.
For details on PWM modes, see section 12.5.5, PWM Modes.
TCNT0 to TCNT2 values
TGRB_0
TGRB_1
TGRA_0
TGRB_2
TGRA_1
TGRA_2
H'0000
TIOCA0
TIOCA1
TIOCA2
Synchronous clearing by TGRB_0 compare match

Figure 12.15 Example of Synchronous Operation

Rev. 1.00, 09/03, page 333 of 704
Time

Advertisement

Table of Contents
loading

Table of Contents