Datasheet

Section 9 I/O Ports
Rev. 1.50 Sep. 18, 2007 Page 179 of 584
REJ09B0240-0150
9.12 Port H
Port H is a general I/O port also functioning as SCI3_3 I/O pins, timer RC input pins, and A/D
converter input pins. Each pin of port H is shown in figure 9.12. The settings for the SCI3_3 and
timer RC functions have priority over those for other functions.
PH6/FTIOC
PH7/FTIOD
PH5/FTIOB
PH4/FTIOA/TRGC
PH2/TXD_3
PH1/RXD_3
PH0/SCK3_3/ADTR
G
PH3/FTCI
Port H
Figure 9.12 Port H Pin Configuration
Port H has the following registers.
Port control register H (PCRH)
Port data register H (PDRH)
9.12.1 Port Control Register H (PCRH)
PCRH selects inputs/outputs in bit units for pins to be used as general I/O ports of port H.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PCRH7
PCRH6
PCRH5
PCRH4
PCRH3
PCRH2
PCRH1
PCRH0
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
When each of the port H pins PH7 to PH0 functions as
a general I/O port, setting a PCRH bit to 1 makes the
corresponding pin an output port, while clearing the bit
to 0 makes the pin an input port.