R01UH0822EJ0100 Rev.1.00
Page 441 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
Figure 19.60
Example of 0% and 100% Waveform Output in Complementary PWM Mode
(MTU3 and MTU4) (5)
(l)
Toggle Output Synchronized with PWM Period
In complementary PWM mode, toggle output from the PWM output pin in synchronization with the PWM period can be
enabled by setting the PSYE bit in the TOCR1A register to 1. An example of a toggle output waveform is shown in
This output is toggled by a compare match between MTU3.TCNT and MTU3.TGRAand a compare match between
MTU4.TCNT and 0000h.
pin is assigned for this toggle output. The initial output is high-level output.
Figure 19.61
Example of Toggle Output Waveform Synchronized with PWM Output (MTU3 and MTU4)
c
a d
b
MTU3.TGRA
TCDRA
TDDRA
0000h
Positive-phase
output
Negative-phase
output
MTU3.TCNT
MTU4.TCNT
Output waveform is active-low.
Buffer operation is set for transfer at the crest and trough.
MTU4.TGRA
100% duty ratio output
0% duty ratio output
OFF
Don't care
Don't care
T1 interval
T2 interval
T1 interval
Counter for generating
a turn-off timing
Counter for generating
a turn-on timing
MTU4.TCNT
MTU3.TCNT
MTU3.TGRA
0000h
Toggle output
MTIOC3A pin