h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 290

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
Port 9 Data Register (P9DR)
Note:
P9DR is an 8-bit readable/writable register that stores output data for the port 9 pins (P97 to P90).
With the exception of P96, if a port 9 read is performed while P9DDR bits are set to 1, the P9DR
values are read directly, regardless of the actual pin states. If a port 9 read is performed while
P9DDR bits are cleared to 0, the pin states are read.
P9DR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
8.10.3
Port 9 pins also function as external interrupt input pins (IRQ0 to IRQ2), the A/D converter trigger
input pin (ADTRG), HIF input pins (ECS2, CS1, IOW, IOR), the IIC0 I/O pin (SDA0), the
subclock input pin (EXCL), bus control signal I/O pins (AS/IOS, RD, WR, WAIT), and the
system clock ( ) output pin. The pin functions differ between the mode 1, 2, and 3 (EXPE = 1)
expanded modes and the mode 2 and 3 (EXPE = 0) single-chip modes. The port 9 pin functions
are shown in table 8.20.
Rev. 4.00 Jun 06, 2006 page 236 of 1004
REJ09B0301-0400
Bit
Initial value
Read/Write
Modes 2 and 3 (EXPE = 0)
When the corresponding P9DDR bits are set to 1, pin P96 functions as the output pin and
pins P97 and P95 to P90 become output ports. When P9DDR bits are cleared to 0, the
corresponding pins become input ports.
* Determined by the state of pin P96.
Pin Functions
P97DR
R/W
7
0
P96DR
— *
R
6
P95DR
R/W
5
0
P94DR
R/W
4
0
P93DR
R/W
3
0
P92DR
R/W
2
0
P91DR
R/W
1
0
P90DR
R/W
0
0

Related parts for h8s-2138