Datasheet
Section 10 I/O Ports
Page 332 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
10.10.2 Port Control Register J (PCRJ)
b7
⎯
0
b6
⎯
0
b5
⎯
0
b4
⎯
0
b3
⎯
0
b2
⎯
0
b1
PCRJ1
0
b0
PCRJ0
0
H'FFFFFC
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 to 2 ⎯ Reserved These bits are read as 0. The write value should
be 0.
⎯
1 PCRJ1 Port J1 control R/W
0 PCRJ0 Port J0 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.
PCRJ is a register that selects inputs/outputs in bit
units for pins to be used as general I/O ports of
port J.
R/W
• PCRJ1 bit and PCRJ0 bit (port J1 and J0 control)
When the general I/O port function is selected by PMRJ, setting a PCRJ bit to 1 makes the
corresponding pin an output port, while clearing the bit to 0 makes the pin an input port.