h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 320

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 10 8-Bit PWM Timer (PWM)
PWOERB
Legend:
X: Don't care
To perform PWM 256/256 output when DDR = 1 and OE = 0, the corresponding pin should be set
to port output. The corresponding pin can be set as port output in single-chip mode or when IOSE
= 1 and CS256E = 0 in SYSCR in extended mode with on-chip ROM. Otherwise, it should be
noted that an address bus is output to the corresponding pin.
DR data is output when the corresponding pin is used as port output. A value corresponding to
PWM 256/256 output is determined by the OS bit, so the value should have been set to DR
beforehand.
Rev. 3.00 Jan 25, 2006 page 268 of 872
REJ09B0286-0300
Bit
7
6
5
4
3
2
1
0
Bit Name
OE15
OE14
OE13
OE12
OE11
OE10
OE9
OE8
Initial Value
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
Output Enable 15 to 8
These bits, together with P2DDR, specify the P2n/PWn
pin state. Bits OE15 to OE8 correspond to outputs
PW15 to PW8.
P2nDDR OEn: Pin state
0X: Port input
10: Port output or PWM 256/256 output
11: PWM output (0 to 255/256 output)

Related parts for h8s-2158