R01UH0822EJ0100 Rev.1.00
Page 444 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
Example of Procedure for Setting Output Waveform Control at Synchronous Counter Clearing in Complementary
PWM Mode.
An example of the procedure for setting output waveform control at synchronous counter clearing in complementary
PWM mode is shown in
Figure 19.64
Example of Procedure for Setting Output Waveform Control at Synchronous Counter Clearing in
Complementary PWM Mode (MTU3 and MTU4)
Stop count operation
Output waveform control at
synchronous counter clearing
Set TWCRA and
complementary PWM mode
Start count operation
Output waveform control at
synchronous counter clearing
[1]
[2]
[3]
[1] Set the TSTRA.CST3 and TSTRA.CST4 bits to
0 to stop operation of the timer counter (TCNT).
Specify the TWCRA register while MTU3.TCNT
and MTU4.TCNT are stopped.
[2] Read the TWCRA.WRE bit and then write 1 to
the bit to suppress the initial value output at
counter clearing.
[3] Set the TSTRA.CST3 and TSTRA.CST4 bits to
1 simultaneously to start count operation.