Renesas M32R/ECU Series User Manual page 442

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10
When using TIN17/PWMOFF1 to disable PWM outputs
1. Write data '1' to the PWMOFF1CR register PWMOFF1SP bit.
2. After 1 above, write data '0' to the PWMOFF1SP bit and then data '000,' '001,' '010,' '011,' '10X' or
'11X' to the PWMOFF1S bit in succession.
Note: • If a write cycle to any other area occurs between 1 and 2, the value written to the PWMOFF1S
When using TIN33/PWMOFF2 to disable PWM outputs
1. Write data '1' to the PWMOFF2CR register PWMOFF2SP bit.
2. After 1 above, write data '0' to the PWMOFF2SP bit and then data '000,' '001,' '010,' '011,' '10X' or
'11X' to the PWMOFF2S bit in succession.
Note: • If a write cycle to any other area occurs between 1 and 2, the value written to the PWMOFF2S
(2) Using the PWM control registers to disable PWM outputs
The PWM Output 0 Control Register (PO0DISCR) may be used to disable outputs from the ports P160/
TO21–P165/TO26 that are provided for the PWM outputs of the TOU0_0–TOU0_5 timers. Similarly, the
PWM Output 1 Control Register (PO1DISCR) may be used to disable outputs from the ports P180/TO29–
P185/TO34 that are provided for the PWM outputs of the TOU1_0–TOU1_5 timers. Also, the PWM Output 2
Control Register (PO2DISCR) may be used to disable outputs from the ports P210/TO37–P215/TO42 that
are provided for the PWM outputs of the TOU2_0–TOU2_5 timers.
Set up the PWM Output Control Register (POnDISCR) as described below.
When using the PWM Output 0 Control Register (PO0DISCR) to disable PWM outputs
1. Set the PO0DISCR register PO0DISP bit to "1".
2. After 1 above, set the PO0DISP bit to "0" and then the PO0DIS bit to "1" (output disabled).
Note: • If a write cycle to any other area occurs between 1 and 2, the setting of the PO0DIS bit has
When using the PWM Output 1 Control Register (PO1DISCR) to disable PWM outputs
1. Set the PO1DISCR register PO1DISP bit to "1".
2. After 1 above, set the PO1DISP bit to "0" and then the PO1DIS bit to "1" (output disabled).
Note: • If a write cycle to any other area occurs between 1 and 2, the setting of the PO1DIS bit has
When using the PWM Output 2 Control Register (PO2DISCR) to disable PWM outputs
1. Set the PO2DISCR register PO2DISP bit to "1".
2. After 1 above, set the PO2DISP bit to "0" and then the PO2DIS bit to "1" (output disabled).
Note: • If a write cycle to any other area occurs between 1 and 2, the setting of the PO2DIS bit has
bit has no effect.
bit has no effect.
no effect.
no effect.
no effect.
MULTIJUNCTION TIMERS
10.8 TOU (Output-Related 24-Bit Timer)
10-199
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents