English
Language : 

HD6417705 Datasheet, PDF (539/739 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
19.2.10 Port H Control Register (PHCR)
PHCR is a 16-bit readable/writable register that selects the pin function and input pull-up MOS
control.
Bit
15, 14
Bit
Name
—
Initial
Value R/W
0
R
13
PH6MD1 1
R/W
12
PH6MD0 1
R/W
11
PH5MD1 1
R/W
10
PH5MD0 1
R/W
9
PH4MD1 0
R/W
8
PH4MD0 0
R/W
7
PH3MD1 0
R/W
6
PH3MD0 0
R/W
5
PH2MD1 0
R/W
4
PH2MD0 0
R/W
Description
Reserved
These bits are always read as 0. The write value should
always be 0.
PTH6 Mode
00: Other functions (see table 19.1)
01: Port output
10: Port input (pull-up MOS: On)
11: Port input (pull-up MOS: Off)
PTH5 Mode
00: Other functions (see table 19.1)
01: Port output
10: Port input (pull-up MOS: On)
11: Port input (pull-up MOS: Off)
PTH4 Mode
00: Other functions (see table 19.1)
01: Port output
10: Port input (pull-up MOS: On)
11: Port input (pull-up MOS: Off)
PTH3 Mode
00: Other functions (see table 19.1)
01: Port output
10: Port input (pull-up MOS: On)
11: Port input (pull-up MOS: Off)
PTH2 Mode
00: Other functions (see table 19.1)
01: Port output
10: Port input (pull-up MOS: On)
11: Port input (pull-up MOS: Off)
Rev. 2.00, 09/03, page 493 of 690