Renesas M32R/ECU Series User Manual page 418

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

Advertisement

10
PWM Output 2 Disable Control Register (PO2DISCR)
b0
1
2
0
0
0
b
Bit Name
0–5
No function assigned. Fix to "0".
6
PO2DISP
PO2DIS write control bit
7
PO2DIS
P210/TO37–P215/TO42 output disable select bit
These registers control output from the respective corresponding pins by enabling or disabling it. These pins can
be used to control three-phase PWM output using the TOU timer.
Three-phase PWM output can be forcibly disabled (placed in the high-impedance state) by controlling this reg-
ister. For details, see Section 10.8.18, "PWM Output Disable Function." Also, if this register is accessed for read,
it serves as a status register indicating whether PWM output is disabled.
To set this register, follow the procedure described below.
1. Write data '1' to the POnDIS write control bit (POnDISP).
2. After 1 above, write data '0' to the POnDIS write control bit (POnDISP) and data '0' or '1' to the output disable
select bit (POnDIS).
Note: • If a write cycle to any other area occurs between 1 and 2, what has successively been set above
has no effect and the written value is not reflected. Therefore, disable interrupts and DMA transfers
before setting the POnDIS bits. Be aware that a pair of two consecutive writes comprise a write
operation.
3
4
5
6
PO2DISP
PO2DIS
0
0
0
0
10.8 TOU (Output-Related 24-Bit Timer)
b7
0
Function
0: Enable output
1: Disable output
10-175
MULTIJUNCTION TIMERS
<Address: H'0080 0784>
<After reset: H'00>
32180 Group User's Manual (Rev.1.0)
R
W
0
0
0
W
R
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents