Renesas RX100 Series User Manual page 503

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
(2) Operation When Error Occurs in Normal Mode and Operation is Restarted in PWM Mode 1
Figure 19.144 shows a case in which an error occurs in normal mode and operation is restarted in PWM mode 1 after
re-setting.
MTU module output
MTIOCnA
MTIOCnB
PORT output
Pxx
Pxx
Figure 19.144
Error Occurrence in Normal Mode, Recovery in PWM Mode 1
(1) to (10) are the same as in Figure 19.143 .
(11) Set PWM mode 1.
(12) 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.)
(13) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(14) Restart operation by setting the TSTRA register.
(3) Operation When Error Occurs in Normal Mode and Operation is Restarted in PWM mode 2
Figure 19.145 shows a case in which an error occurs in normal mode and operation is restarted in PWM mode 2 after
re-setting.
MTU module output
MTIOCnA
MTIOCnB
PORT output
Pxx
Pxx
Figure 19.145
Error Occurrence in Normal Mode, Recovery in PWM Mode 2
(1) to (10) are the same as in Figure 19.143 .
(11) Set PWM mode 2.
(12) Initialize the pins with the TIOR register. (In PWM mode 2, a waveform is not output to the pin that corresponds to
the TGR register used as a period register. 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.)
(13) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(14) Restart operation by setting the TSTRA register.
Note:
PWM mode 2 can only be selected for MTU0 to MTU2, and therefore the TOERA register setting is not
necessary.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
(5)
(1)
(2)
(3)
(4)
Reset
TMDR
TOER
TIOR
MPC
(MTU)
(normal)
(1)
(1 init
0 out)
Hi-Z
Hi-Z
(1)
(2)
(3)
(4)
(5)
TOER
TIOR
Reset
TMDR
MPC
(normal)
(1)
(1 init
(MTU)
0 out)
Hi-Z
Hi-Z
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(6)
(7)
(8)
(9)
(10)
TSTR
Match
Error
Port
TSTR
(1)
occurs
output
(0)
(PWM1)
(6)
(7)
(8)
(9)
(10)
TSTR
Match
Error
Port
TSTR
output
(1)
occurs
(0)
(PWM2)
(11)
(12)
(13)
(14)
TMDR
TIOR
MPC
TSTR
(MTU)
(1 init
(1)
0 out)
Not initialized (MTIOCnB)
(11)
(12)
(13)
(14)
TMDR
TIOR
MPC
TSTR
(MTU)
(1init
(1)
0 out)
Not initialized (period register)
Page 503 of 1041

Advertisement

Table of Contents
loading

Table of Contents