Renesas M32R/ECU Series User Manual page 443

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

Advertisement

10
(3) Using the pin level on ports P160/TO21–P165/TO26, P180/TO29–P185/TO34 or P210/TO37–P215/TO42
to disable PWM outputs
The pin level (high or low level) on ports P160/TO21–P165/TO26 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. Simi-
larly, the pin level (high or low level) on ports P180/TO29–P185/TO34 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 pin level (high or low level) on ports P210/TO37–P215/TO42 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.
To disable PWM outputs using the pin level of ports, set up the PWM Output Disable Control Register
(POnLVCR) as described below.
When using the P160/TO21–P165/TO26 port level to disable PWM outputs
1. Using the PO0LVCR register PO0LVSEL bit, select the high or low level at which PWM output is to be
disabled.
2. Set the PO0LVEN bit to "1" (the selected output disable level effective).
When using the P180/TO29–P185/TO34 port level to disable PWM outputs
1. Using the PO1LVCR register PO1LVSEL bit, select the high or low level at which PWM output is to be
disabled.
2. Set the PO1LVEN bit to "1" (the selected output disable level effective).
When using the P210/TO37–P215/TO42 port level to disable PWM outputs
1. Using the PO2LVCR register PO2LVSEL bit, select the high or low level at which PWM output is to be
disabled.
2. Set the PO2LVEN bit to "1" (the selected output disable level effective).
MULTIJUNCTION TIMERS
10.8 TOU (Output-Related 24-Bit Timer)
10-200
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents