R01UH0823EJ0100 Rev.1.00 Page 566 of 1823
Jul 31, 2019
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(m) Counter Clearing by Another Channel
In complementary PWM mode, counters MTU3.TCNT, MTU4.TCNT, and TCNTS can be cleared by another channel
source when a mode for synchronization with another channel is specified by the TSYR register and synchronous
clearing is selected with the MTU3.TCR.CCLR[2:0] bits.
Figure 23.55 illustrates an example of this operation.
Use of this function enables a counter to be cleared and restarted through an external signal.
Figure 23.55 Counter Clearing Synchronized with Another Channel
MTU1.TCNT
MTU3.TCNT
MTU4.TCNT
TCNTS
Synchronous counter clearing by MTU1 input capture A
MTU3.TGRA
TCDR
TDDR
0000h
MTU1 input capture A