Datasheet
Section 10 I/O Ports
REJ09B0465-0300 Rev. 3.00 Page 309 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
10.7.2 Port Control Register 9 (PCR9)
b7
PCR97
0
b6
PCR96
0
b5
PCR95
0
b4
PCR94
0
b3
PCR93
0
b2
PCR92
0
b1
PCR91
0
b0
PCR90
0
H'FFFFF8
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 PCR97 Port 97 control R/W
6 PCR96 Port 96 control R/W
5 PCR95 Port 95 control R/W
4 PCR94 Port 94 control R/W
3 PCR93 Port 93 control R/W
2 PCR92 Port 92 control R/W
1 PCR91 Port 91 control R/W
0 PCR90 Port 90 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.
PCR9 is a register that selects inputs/outputs in bit
units for pins to be used as general I/O ports of port
9.
R/W
• PCR97 bit to PCR90 bit (port 97 to 90 control)
When the corresponding pin is designated in PMR9 as a general I/O pin, setting a PCR9 bit to
1 makes the corresponding pin an output port, while clearing the bit to 0 makes the pin an
input port.