Overview Of Initialization Procedures And Mode Transitions In Case Of Error During Operation - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
19.7.3
Overview of Initialization Procedures and Mode Transitions in Case of Error
during Operation
 When making a transition to a mode (Normal, PWM1, PWM2, or PCM) in which the pin output level is selected by
the timer I/O control register (TIOR) setting, initialize the pins by means of TIOR setting.
 In PWM mode 1, waveforms are not output to the MTIOCnB and MTIOCnD (n = 3, 4) pins. When a pin is
configured for MTIOCnB or MTIOCnD, it enters high-impedance state. To output a specified level, set the pin to
general output port.
 In PWM mode 2, a waveform is not output to the pin that corresponds to the TGR register used as a period register.
When a pin is configured for MTIOCnm (n = 0 to 2; m = A to D), it enters high-impedance state. To output a
specified level, set the pin to general output port.
 In normal mode or PWM mode 2, if TGRC and TGRD operate as buffer registers, waveforms are not output to the
corresponding pins (MTIOCnC or MTIOCnD (n = 0, 3, 4)). When a pin is configured for MTIOCnC or MTIOCnD,
it enters high-impedance state. To output a specified level, set the pin to general output port.
 In PWM mode 1, if either TGRC or TGRD operates as a buffer register, waveforms are not output to the
corresponding pins (MTIOCnC or MTIOCnD (n = 0, 3, 4)). When a pin is configured for MTIOCnC or MTIOCnD,
it enters high-impedance state. To output a specified level, set the pin to general output port.
 When making a transition to a mode (CPWM or RPWM) in which the pin output level is selected by the timer
output control register (TOCR1A or TOCR2A) setting, temporarily disable output in MTU3 and MTU4 with the
timer output master enable register (TOERA). At this time, when a pin is configured for MTIOCnm (n = 3, 4; m = A
to D), it enters high-impedance state. To output a specified level, set the pin to general output port. Switch to normal
mode, perform initialization with TIOR, restore TIOR to its initial value, then operate the MTU in accordance with
the mode setting procedure (TOCR1A setting, TOCR2A setting, TMDR1 setting, and TOERA setting).
Note:
Channel number is substituted for "n" indicated in this section.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
Page 501 of 1041

Advertisement

Table of Contents
loading

Table of Contents