Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 574 of 1852
Nov 30, 2020
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