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

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 9 I/O Ports
9.9
Port 9 is an 8-bit I/O port. However note that pin P96 cannot be used as a general output port. Port
9 pins also function as the bus control I/O pins, CompactFlash control I/O pins, the system clock
output pin, and the external subclock input pin. Pin functions are switched depending on the
operating mode. Port 9 has the following registers.
9.9.1
The individual bits of P9DDR specify input or output for the pins of port 9.
Rev. 3.00 Jan 25, 2006 page 250 of 872
REJ09B0286-0300
Bit
7
6
5
4
3
2
1
0
Port 9 data direction register (P9DDR)
Port 9 data register (P9DR)
Bit Name
P97DDR
P96DDR
P95DDR
P94DDR
P93DDR
P92DDR
P91DDR
P90DDR
Port 9
Port 9 Data Direction Register (P9DDR)
0
0
0
0
0
0
0
0
Initial Value
R/W
W
W
W
W
W
W
W
W
If port 9 pins are specified for use as the general
I/O port, the corresponding port 9 pins are output
ports when the P9DDR bits are set to 1, and input
ports when cleared to 0.
When this bit is set to 1, the corresponding port 9
pin is the system clock output pin ( ), and as a
general input port when cleared to 0.
If port 9 pins are specified for use as the general
I/O port, the corresponding port 9 pins are output
ports when the P9DDR bits are set to 1, and input
ports when cleared to 0.
Description

Related parts for h8s-2158