Section 18 Multi-Function Timer Pulse Unit (MTU)
Rev. 4.00 Sep. 14, 2005 Page 588 of 982
REJ09B0023-0400
18.4.7 Reset-Synchronized PWM Mode
In the reset-synchronized PWM mode, three-phase output of positive and negative PWM
waveforms that share a common wave transition point can be obtained by combining channels 3
and 4.
When set for reset-synchronized PWM mode, the TIOC3B, TIOC3D, TIOC4A, TIOC4C,
TIOC4B, and TIOC4D pins function as PWM output pins and TCNT3 functions as an upcounter.
Table 18.37 shows the PWM output pins used. Table 18.38 shows the settings of the registers.
Table 18.37 Output Pins for Reset-Synchronized PWM Mode
Channel Output Pin Description
3 TIOC3B PWM output pin 1
TIOC3D PWM output pin 1' (negative-phase waveform of PWM output 1)
4 TIOC4A PWM output pin 2
TIOC4C PWM output pin 2' (negative-phase waveform of PWM output 2)
TIOC4B PWM output pin 3
TIOC4D PWM output pin 3' (negative-phase waveform of PWM output 3)
Table 18.38 Register Settings for Reset-Synchronized PWM Mode
Register Description of Setting
TCNT_3 Initial setting of H'0000
TCNT_4 Initial setting of H'0000
TGRA_3 Set count cycle for TCNT_3
TGRB_3 Sets the turning point for PWM waveform output by the TIOC3B and TIOC3D pins
TGRA_4 Sets the turning point for PWM waveform output by the TIOC4A and TIOC4C pins
TGRB_4 Sets the turning point for PWM waveform output by the TIOC4B and TIOC4D pins