EasyManua.ls Logo

Renesas M32R/ECU Series

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10
10-199
MULTIJUNCTION TIMERS
10.8 TOU (Output-Related 24-Bit Timer)
32180 Group Users Manual (Rev.1.0)
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
bit has no effect.
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
bit has no effect.
(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/
TO21P165/TO26 that are provided for the PWM outputs of the TOU0_0TOU0_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_0TOU1_5 timers. Also, the PWM Output 2
Control Register (PO2DISCR) may be used to disable outputs from the ports P210/TO37P215/TO42 that
are provided for the PWM outputs of the TOU2_0TOU2_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
no effect.
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
no effect.
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
no effect.

Table of Contents

Related product manuals