English
Language : 

HD64F3687HV Datasheet, PDF (171/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
9.7 Port 8
Port 8 is a general I/O port. Each pin of the port 8 is shown in figure 9.7.
Section 9 I/O Ports
P87
Port 8
P86
P85
Figure 9.7 Port 8 Pin Configuration
Port 8 has the following registers.
• Port control register 8 (PCR8)
• Port data register 8 (PDR8)
9.7.1 Port Control Register 8 (PCR8)
PCR8 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 8.
Initial
Bit
Bit Name Value
7
PCR87 0
6
PCR86 0
5
PCR85 0
4 to 0 

R/W
W
W
W

Description
When each of the port 8 pins P87 to P85 functions as a
general I/O port, setting a PCR8 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.
Reserved
9.7.2 Port Data Register 8 (PDR8)
PDR8 is a general I/O port data register of port 8.
Initial
Bit
Bit Name Value
7
P87
0
6
P86
0
5
P85
0
4 to 0 
All 1
R/W
R/W
R/W
R/W

Description
PDR8 stores output data for port 8 pins.
If PDR8 is read while PCR8 bits are set to 1, the value
stored in PDR8 is read. If PDR8 is read while PCR8 bits
are cleared to 0, the pin states are read regardless of the
value stored in PDR8.
Reserved
These bits are always read as 1.
Rev.5.00 Nov. 02, 2005 Page 137 of 500
REJ09B0027-0500