Renesas M32R/ECU Series User Manual page 415

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

Advertisement

10
PWMOFF2 Input Processing Control Register (PWMOFF2CR)
b0
1
2
0
0
0
b
Bit Name
0–3
No function assigned. Fix to "0".
4
PWMOFF2SP
PWMOFF2S write control bit
5–7
PWMOFF2S
PWMOFF2 input processing control bit
The PWMOFF input processing control registers are used to set the active edge or level entered for PWM output
disable control from an external pin. For details about the PWM output disable function, see Section 10.8.18,
"PWM Output Disable Function."
To set the PWMOFF input processing control bits, follow the procedure described below.
1. Write data '1' to the PWMOFFnS write control bit (PWMOFFnSP).
2. After 1 above, write data '0' to the PWMOFFnS write control bit (PWMOFFnSP) and the set value to the
PWMOFF input processing control bits (PWMOFFnS).
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 PWMOFF control bits. Be aware that a pair of two consecutive writes comprise
a write operation.
3
4
5
6
PWM
PWMOFF2S
OFF2SP
0
0
0
0
10.8 TOU (Output-Related 24-Bit Timer)
b7
0
Function
000: Input has no effect
001: Rising edge
010: Falling edge
011: Both edges
10X: Low level
11X: High level
10-172
MULTIJUNCTION TIMERS
<Address: H'0080 0CE0>
<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