R01UH0823EJ0100 Rev.1.00 Page 526 of 1823
Jul 31, 2019
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(2) Example of Synchronous Operation
Figure 23.13 shows an example of synchronous operation.
In this example, synchronous operation and PWM mode 1 have been designated for MTU0 to MTU2, compare match of
the MTU0.TGRB register has been set as the counter clearing source in MTU0, and synchronous clearing has been set
for the counter clearing source in MTU1 and MTU2.
Three-phase PWM waveforms are output from pins MTIOC0A, MTIOC1A, and MTIOC2A. At this time, synchronous
setting and synchronous clearing by MTU0.TGRB compare match are performed for the TCNT counters in MTU0 to
MTU2, and the data set in the MTU0.TGRB register is used as the PWM cycle.
For details of PWM modes, refer to
section 23.3.5, PWM Modes.
Figure 23.13 Example of Synchronous Operation
TCNT value
Time
Synchronous clearing by MTU0.TGRB compare match
0000h
MTIOC0A
MTIOC1A
MTIOC2A
MTU0.TGRB
MTU2.TGRA
MTU1.TGRA
MTU2.TGRB
MTU0.TGRA
MTU1.TGRB