h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 144

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
7.5
Port 5 is a 3-bit I/O port. Port 5 pins also function as SCI_1 extended I/O pins, and the IIC_0 I/O
pin. P52 and ExSCK1 are NMOS push-pull outputs, and SCL0 is an NMOS open-drain output.
Port 5 has the following registers.
• Port 5 data direction register (P5DDR)
• Port 5 data register (P5DR)
7.5.1
P5DDR specifies input or output for the pins of port 5 on a bit-by-bit basis.
7.5.2
P5DR stores output data for port 5 pins.
Rev. 1.00, 05/04, page 110 of 544
Bit
7 to 3
2
1
0
Bit
7 to 3
2
1
0
Port 5
Port 5 Data Register (P5DR)
Bit Name
P52DDR
P51DDR
P50DDR
Bit Name
P52DR
P51DR
P50DR
Port 5 Data Direction Register (P5DDR)
Initial
Value
All 1
0
0
0
Initial
Value
All 1
0
0
0
R/W
W
W
W
R/W
R/W
R/W
R/W
Description
Reserved
The initial value should not be changed.
The corresponding port 5 pins are output ports when
P5DDR bits are set to 1, and input ports when cleared
to 0. As SCI_1 is initialized in software standby mode,
the pin states are determined by the specifications of
ICCR, PGCTL, P5DDR, and P5DR in IIC_0.
Description
Reserved
The initial value should not be changed.
If a port 5 read is performed while P5DDR bits are set
to 1, the P5DR values are read directly, regardless of
the actual pin states. If a port 5 read is performed while
P5DDR bits are cleared to 0, the pin states are read.

Related parts for h8s-2111b