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

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
9.9.2
P9DR stores output data for the port 9 pins.
Note:
9.9.3
The relationship between the operating mode, register setting values, and pin functions are as
follows. In the tables, the symbol “—” stands for Don't care.
Bit
7
6
5
4
3
2
1
0
Operating
Mode
WMS1,
WMS21
CS256E
P97DDR
Pin function
P97/WAIT/CPWAIT/CS256
The pin function is switched as shown below according to the combination of the operating
mode, the CS256E bit in SYSCR, the WMS1 bit in WSCR, the WMS21 bit in WSCR2, and
the P97DDR bit.
* The initial value of bit 6 is determined according to the P96 pin state.
Bit Name
P97DR
P96DR
P95DR
P94DR
P93DR
P92DR
P91DR
P90DR
Port 9 Data Register (P9DR)
Pin Functions
P97 input
pin
0
Initial Value
0
Undefined *
0
0
0
0
0
0
All bits are set as 0
0
P97 output
pin
1
Extended Mode
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
R/W
output pin
CS256
1
P9DR stores output data for the port 9 pins that
are used as the general output port except for bit
6.
If a port 9 read is performed while the P9DDR bits
are set to 1, the P9DR values are read. If a port 9
read is performed while the P9DDR bits are
cleared to 0, the pin states are read.
Description
(WMS21 = 1) input
WAIT (WMS1 = 1)
One bit is set as 1
and CPWAIT
Rev. 3.00 Jan 25, 2006 page 251 of 872
pins
input pin
Single-Chip Mode
Section 9 I/O Ports
P97
REJ09B0286-0300
0
output pin
P97
1

Related parts for h8s-2158