R01UH0822EJ0100 Rev.1.00
Page 443 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(n) Output Waveform Control at Synchronous Counter Clearing in Complementary PWM Mode
Setting the WRE bit in TWCRA to 1 suppresses initial output when synchronous counter clearing occurs in the Tb
interval (Tb2 interval) at the trough in complementary PWM mode and controls abrupt change in duty cycle at
synchronous counter clearing.
Initial output suppression through the WRE bit = 1 is applicable only when synchronous clearing occurs in the Tb2
interval as indicated by (10) or (11) in
. When synchronous clearing occurs outside that interval, the initial
value specified by the OLSN and OLSP bits in TOCR1A is output. Even in the Tb2 interval, if synchronous clearing
occurs in the initial value output period (indicated by (1) in
) immediately after the counters start operation,
initial value output is not suppressed.
This function can be used in both channel combinations of MTU3 and MTU4. In MTU3 and MTU4, synchronous
clearing in any of MTU0 to MTU2 can cause counter clearing.
Figure 19.63
Timing for Synchronous Counter Clearing (MTU3 and MTU4)
Tb
interval
MTU3.TCNT
MTU4.TCNT
(Output waveform is active-low)
Counter start
Tb1
interval
Tb2
interval
MTU3.TGRA
MTU3.TGRB
TCDRA
TDDRA
0000h
Positive- phase
output
Negative-
phase output
MTU3.TCNT
MTU4.TCNT
TCNTSA
(1)
(2)
(3) (4) (5) (6) (7) (8)
(9)
(10) (11)