R01UH0823EJ0100 Rev.1.00
Page 546 of 1823
Jul 31, 2019
RX23W Group
23. Multi-Function Timer Pulse Unit 2 (MTU2a)
23.3.7
Reset-Synchronized PWM Mode
In the reset-synchronized PWM mode, six phases of positive and negative PWM waveforms that share a common wave
transition point can be output by combining MTU3 and MTU4.
When set for reset-synchronized PWM mode, the MTIOC3B, MTIOC3D, MTIOC4A, MTIOC4C, MTIOC4B, and
MTIOC4D pins function as PWM output pins and the MTU3.TCNT counter functions as an up-counter.
lists the PWM output pins.
lists the settings of the registers.
Table 23.49
Output Pins for Reset-Synchronized PWM Mode
Channel
Output Pin
Description
MTU3
MTIOC3B
PWM output pin 1
MTIOC3D
PWM output pin 1’ (negative-phase waveform of PWM output 1)
MTU4
MTIOC4A
PWM output pin 2
MTIOC4C
PWM output pin 2’ (negative-phase waveform of PWM output 2)
MTIOC4B
PWM output pin 3
MTIOC4D
PWM output pin 3’ (negative-phase waveform of PWM output 3)
Table 23.50
Register Settings for Reset-Synchronized PWM Mode
Register
Setting
MTU3.TCNT
Initial setting (0000h)
MTU4.TCNT
Initial setting (0000h)
MTU3.TGRA
Set the count cycle for MTU3.TCNT
MTU3.TGRB
Set the transition point of the PWM waveform to be output from the MTIOC3B and MTIOC3D pins
MTU4.TGRA
Set the transition point of the PWM waveform to be output from the MTIOC4A and MTIOC4C pins
MTU4.TGRB
Set the transition point of the PWM waveform to be output from the MTIOC4B and MTIOC4D pins