Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 579 of 1852
Nov 30, 2020
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.
Figure 23.62 shows an operation example.
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