R01UH0822EJ0100 Rev.1.00
Page 390 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(b) Examples of Waveform Output Operation
shows an example of low output and high output.
In this example, TCNT has been designated as a free-running counter, and settings have been made so that high is output
by compare match A and low is output by compare match B. When the pin level is the same as the specified level, the pin
level does not change.
Figure 19.8
Example of low output and high output Operation (n = 0 to 4)
shows an example of toggle output.
In this example, TCNT has been designated as a periodic counter (with counter clearing on compare match B), and
settings have been made so that the output is toggled by both compare match A and compare match B.
Figure 19.9
Example of Toggle Output Operation (n = 0 to 4)
High output
Time
Low output
No change
No change
No change
No change
TCNT value
FFFFh
TGRA
TGRB
0000h
MTIOCnA
MTIOCnB
TCNT value
FFFFh
0000h
MTIOCnA
MTIOCnB
Time
TGRB
TGRA
Toggle output
Toggle output
Counter cleared by TGRB compare match