Renesas H8S/2158 User Manual page 322

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

Advertisement

Section 10 8-Bit PWM Timer (PWM)
PWOERB
Bit
Bit Name
Initial Value
7
OE15
0
6
OE14
0
5
OE13
0
4
OE12
0
3
OE11
0
2
OE10
0
1
OE9
0
0
OE8
0
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
R/W
Description
R/W
Output Enable 15 to 8
R/W
These bits, together with P2DDR, specify the P2n/PWn
R/W
pin state. Bits OE15 to OE8 correspond to outputs
R/W
PW15 to PW8.
R/W
P2nDDR 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)

Advertisement

Table of Contents
loading

Table of Contents