R01UH0823EJ0100 Rev.1.00
Page 571 of 1823
Jul 31, 2019
RX23W Group
23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(o) Counter Clearing by MTU3.TGRA Compare Match
In complementary PWM mode, counters MTU3.TCNT, MTU4.TCNT, and TCNTS can be cleared by MTU3.TGRA
compare match when the TWCR.CCE bit is set.
Note:
Use this function only in complementary PWM mode 1 (transfer at crest).
Note:
Do not specify synchronous clearing by another channel (do not set the TSYR.SYNCn bits (n = 0 to 4) to 1).
Note:
Do not set the PWM duty cycle value to 0000h.
Note:
Do not set the TOCR1.PSYE bit to 1.
Figure 23.62
Example of Counter Clearing Operation by MTU3.TGRA Compare Match
Output waveform is active-high.
Counter cleared by
MTU3.TGRA compare match
MTU3.TGRA
MTU3.TGRB
TCDR
TDDR
0000h
Positive-phase
output
Negative-phase
output