Datasheet

Section 10 I/O Ports
REJ09B0465-0300 Rev. 3.00 Page 285 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
10.3.2 Port Control Register 3 (PCR3)
b7
PCR37
0
b6
PCR36
0
b5
PCR35
0
b4
PCR34
0
b3
PCR33
0
b2
PCR32
0
b1
PCR31
0
b0
PCR30
0
H'FFFFF2
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 PCR37 Port 37 control R/W
6 PCR36 Port 36 control R/W
5 PCR35 Port 35 control R/W
4 PCR34 Port 34 control R/W
3 PCR33 Port 33 control R/W
2 PCR32 Port 32 control R/W
1 PCR31 Port 31 control R/W
0 PCR30 Port 30 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.
PCR3 is a register that selects inputs/outputs in bit
units for pins to be used as general I/O ports of port
3.
R/W
PCR37 bit to PCR30 bit (port 37 to 30 control)
When the corresponding pin is designated in PMR3 as a general I/O pin, setting a PCR3 bit to
1 makes the corresponding pin an output port, while clearing the bit to 0 makes the pin an
input port.