Pwm Output Enable Registers A And B (Pwoera And Pwoerb) - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

PWDPRB
Bit
Bit Name
Initial Value
7
OS15
0
6
OS14
0
5
OS13
0
4
OS12
0
3
OS11
0
2
OS10
0
1
OS9
0
0
OS8
0
10.3.4

PWM Output Enable Registers A and B (PWOERA and PWOERB)

Each PWOER switches between PWM output and port output.
PWOERA
Bit
Bit Name
Initial Value
7
OE7
0
6
OE6
0
5
OE5
0
4
OE4
0
3
OE3
0
2
OE2
0
1
OE1
0
0
OE0
0
Legend:
X: Don't care
R/W
Description
R/W
Output Select 15 to 8
R/W
These bits select the PWM output phase. Bits OS15 to
R/W
OS8 correspond to outputs PW15 to PW8.
R/W
0: PWM direct output (PWDR value corresponds to high
R/W
width of output)
R/W
R/W
1: PWM inverted output (PWDR value corresponds to
R/W
low width of output)
R/W
Description
R/W
Output Enable 7 to 0
R/W
These bits, together with P1DDR, specify the P1n/PWn
R/W
pin state. Bits OE7 to OE0 correspond to outputs PW7
R/W
to PW0.
R/W
P1nDDR OEn: Pin state
R/W
R/W
0X: Port input
R/W
10: Port output or PWM 256/256 output
11: PWM output (0 to 255/256 output)
Section 10 8-Bit PWM Timer (PWM)
Rev. 3.00 Jan 25, 2006 page 267 of 872
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents