R01UH0822EJ0100 Rev.1.00
Page 451 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
shows an example when the buffer write value is smaller than the TDDRA value, and
shows an example when the write value is greater than TCDRA.
In the crest interval, the output is controlled according to the compare match with the compare register or temporary
register A; in the trough interval, the output is controlled according to the compare match with the compare register or
temporary register B.
Figure 19.75
Example of Double Buffer Operation (Buffer Write Value is Smaller than TDDRA)
Figure 19.76
Example of Double Buffer Operation (Buffer Write Value is Greater than TCDRA)
MTU3.TGRA
TCNTSA
MTU4.
TCNT
MTU4.
TCNT
TCDRA
MTU4.TGRB
TDDRA
MTU4.TGRD
(buffer A)
1111h
1011h
MTU4.TGRF
(buffer B)
Temp3A
(temporary A)
Temp3B
(temporary B)
MTU4.TGRB
(compare)
(1)
(1)
(1)
(2)
(2)
(2)
Buffer A modified
1111h
1011h
1110h
1010h
1110h
1111h
1011h
MTIOC4B(output)
1011h
1110h
1010h
Buffer B modified
1010h
1010h
MTIOC4D(output)
MTU3.TGRA
TCNTSA
MTU3.
TCNT
MTU4.
TCNT
TCDRA
MTU4.TGRB
TDDRA
MTU4.TGRD
(buffer A)
1111h
1211h
MTU4.TGRF
(buffer B)
Temp3A
(temporary A)
Temp3B
(temporary B)
MTU4.TGRB
(compare)
(1)
(1)
(1)
(2)
(2)
(2)
Buffer A modified
1111h
1211h
1110h
1210h
1110h
1111h
1211h
MTIOC4B (output)
1211h
1110h
1210h
Buffer B modified
1210h
1210h
MTIOC4D(output)