R01UH0822EJ0100 Rev.1.00
Page 435 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(i)
Initial Output in Complementary PWM Mode
In complementary PWM mode, the initial output is determined by the setting of the OLSN and OLSP bits in the
TOCR1A register or the OLS1N to OLS3N and OLS1P to OLS3P bits in the TOCR2A register.
This initial output is the non-active level of the PWM output and continues from when complementary PWM mode is set
with the MTU3.TMDR1 until MTU4.TCNT exceeds the value set in the TDDRA register.
shows an
example of the initial output in complementary PWM mode.
An example of the waveform when the initial PWM duty ratio value is smaller than the TDDRA value is shown in
Figure 19.51
Example of Initial Output in Complementary PWM Mode (MTU3 and MTU4) (1))
Timer output control register settings
TOCR1A.OLSN bit = 0 (initial output: high; active level: low)
TOCR1A.OLSP bit = 0 (initial output: high; active level: low)
MTU3.TCNT
MTU4.TCNT
value
MTU4.TGRA
TDDRA
MTU3.TCNT
MTU4.TCNT
Initial output
Dead time
Time
Active level
Active level
Complementary
PWM mode
(TMDR1 setting)
Positive-phase
output
Negative-phase
output
MTU3.TCNT
MTU4.TCNT
count start
(TSTRA setting)
MTU3.TCNT
MTU4.TCNT
TCNTSA