R01UH0822EJ0100 Rev.1.00
Page 516 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(18) Operation When Error Occurs in Phase Counting Mode and Operation is Restarted in PWM
Mode 1
shows a case in which an error occurs in phase counting mode and operation is restarted in PWM mode 1
after re-setting.
Figure 19.160
Error Occurrence in Phase Counting Mode, Recovery in PWM Mode 1
(1) to (9) are the same as in
.
(10) Set PWM mode 1.
(11) Initialize the pins with the TIOR register. (In PWM mode 1, waveforms are not output to the MTIOCnB
(MTIOCnD) pins. To output a specified level, make necessary settings for general output ports in the port direction
registers (PDR) and port output data registers (PODR) of the I/O ports.)
(12) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(13) Restart operation by setting the TSTRA register.
(1)
Reset
Hi-Z
Hi-Z
Not initialized (MTIOCnB)
MTU module output
(2)
TMDR
(PCM)
(3)
TIOR
(1 init
0 out)
(5)
TSTR
(1)
(6)
Match
(9)
Port
output
(8)
Port
output
(9)
TSTR
(0)
(10)
TMDR
(PWM1)
(11)
TIOR
(1 init
0 out)
(13)
TSTR
(1)
PORT output
Pxx
Pxx
MTIOCnA
MTIOCnB
(4)
MPC
(MTU)
(12)
MPC
(MTU)