Datasheet
Section 10 I/O Ports
REJ09B0465-0300 Rev. 3.00 Page 303 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
10.6.2 Port Control Register 8 (PCR8)
b7
PCR87
0
b6
PCR86
0
b5
PCR85
0
b4
⎯
0
b3
⎯
0
b2
⎯
0
b1
⎯
0
b0
⎯
0
H'FFFFF7
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 PCR87 Port 87 control R/W
6 PCR86 Port 86 control R/W
5 PCR85 Port 85 control
0: When the corresponding pin is designated as a
general I/O port, the pin functions as an input
port.
1: When the corresponding pin is designated as a
general I/O port, the pin functions as an output
port.
PCR8 is a register that selects inputs/outputs in bit
units for pins to be used as general I/O ports of
port 8.
R/W
4 to 0 ⎯ Reserved These bits are read as 0. The write value should
be 0.
⎯
• PCR87 bit to PCR85 bit (port 87 to 85 control)
When the corresponding pin is designated in PMR8 as a general I/O pin, 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.