Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 611 of 1852
Nov 30, 2020
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
23.6.15 Buffer Operation and Compare Match Flags in Reset-Synchronized PWM Mode
When setting buffer operation in reset-synchronized PWM mode, set the MTU4.TMDR.BFA bit and MTU4.TMDR.BFB
bit to 0. Setting the MTU4.TMDR.BFA bit to 1 disables MTIOC4C pin waveform output. Setting the
MTU4.TMDR.BFB bit to 1 also disables MTIOC4D pin waveform output.
In reset-synchronized PWM mode, buffer operation in MTU3 and MTU4 depends on the settings in the
MTU3.TMDR.BFA bit and MTU3.TMDR.BFB bit. For example, if the MTU3.TMDR.BFA bit is set to 1, the
MTU3.TGRC register functions as a buffer register for the MTU3.TGRA register. At the same time, the MTU4.TGRC
register functions as a buffer register for the MTU4.TGRA register.
While the MTU3.TGRC and MTU3.TGRD registers are operating as buffer registers, the corresponding TGIC and TGID
interrupt requests are never generated.
Figure 23.107 shows an example of the MTU3.TGR and MTU4.TGR registers, MTIOC3m, and MTIOC4m operation
with the MTU3.TMDR.BFA bit and MTU3.TMDR.BFB bit set to 1 and the MTU4.TMDR.BFA bit and
MTU4.TMDR.BFB bit set to 0. (m = A to D)
Figure 23.107 Buffer Operation and Compare Match Flags in Reset-Synchronized PWM Mode
MTU3.TGRA
MTU3.TGRC
MTU3.TGRB, MTU4.TGRA
MTU4.TGRB
MTU3.TGRD, MTU4.TGRC
MTU4.TGRD
0000h
MTIOC3A
MTIOC3B
MTIOC3D
MTIOC4A
MTIOC4C
MTIOC4B
MTIOC4D
TGIC interrupt signal
TGID interrupt signal
MTU3.TCNT
Point a
Data are transferred from the buffer in response to compare matches
with MTU3.TGRA.
Not generated
Not generated
Point b
MTU3.TGRB, MTU3.TGRD
MTU4.TGRA, MTU4.TGRC
MTU4.TGRB, MTU4.TGRD
MTU3.TGRA
MTU3.TGRC