HD6412373R RENESAS [Renesas Technology Corp], HD6412373R Datasheet - Page 559

no-image

HD6412373R

Manufacturer Part Number
HD6412373R
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
10.5
Port 5 is a 4-bit I/O port. The port 5 has the following registers.
• Port 5 data direction register (P5DDR)
• Port 5 data register (P5DR)
• Port 5 register (PORT5)
10.5.1
The individual bits of P5DDR specify input or output for the pins of port 5.
P5DDR cannot be read; if it is, an undefined value will be read.
Bit
7
to
4
10.5.2
P5DR stores output data for the port 5 pins.
Bit
7
to
4
3
2
1
0
3
2
1
0
Bit Name
P53DDR
P52DDR
P51DDR
P50DDR
Bit Name
P53DR
P52DR
P51DR
P50DR
Port 5
Port 5 Data Direction Register (P5DDR)
Port 5 Data Register (P5DR)
Initial Value
All 0
0
0
0
0
Initial Value
All 0
0
0
0
0
R/W
R/W
W
W
W
W
R/W
R/W
R/W
R/W
Description
Reserved
These bits are always read as 0 and cannot be
modified.
Description
Reserved
These bits are always read as 0 and cannot be
modified.
When a pin function is specified to a general
purpose I/O, setting this bit to 1 makes the
corresponding port 1 pin an output pin, while
clearing this bit to 0 makes the pin an input pin.
Output data for a pin is stored when the pin function
is specified to a general purpose I/O.
Rev.7.00 Mar. 18, 2009 page 491 of 1136
Section 10 I/O Ports
REJ09B0109-0700

Related parts for HD6412373R