EasyManua.ls Logo

Renesas M32R/ECU Series - Page 418

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-175
MULTIJUNCTION TIMERS
10.8 TOU (Output-Related 24-Bit Timer)
32180 Group Users Manual (Rev.1.0)
PWM Output 2 Disable Control Register (PO2DISCR) <Address: H'0080 0784>
123456b7b0
PO2DIS
PO2DISP
00
0
0
0
0
0
0
<After reset: H00>
b Bit Name Function R W
0–5 No function assigned. Fix to "0". 00
6 PO2DISP 0W
PO2DIS write control bit
7 PO2DIS 0: Enable output R W
P210/TO37P215/TO42 output disable select bit 1: Disable output
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.

Table of Contents

Related product manuals