English
Language : 

SH7065 Datasheet, PDF (716/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 17 Pin Function Controller (PFC)
17.3.25 Port H IO Register (PHIOR)
Bit: 15
14
13
12
11
10
9
8
—
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R
R
Bit: 7
6
5
4
3
2
1
0
—
—
—
—
—
— PH1IOR PH0IOR
Initial value:
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R/W
R/W
The port H IO register (PHIOR) is a 16-bit readable/writable register that selects the input/output
direction of pins in port H. Bits PH1IOR and PH0IOR correspond to pins PH1/DA1 to PH0/DA0.
PHIOR is enabled when port H pins function as general input/output pins (PH1 and PH0), and
disabled otherwise.
When port H pins function as PH1 and PH0, a pin becomes an output when the corresponding bit
in PHIOR is set to 1, and an input when the bit is cleared to 0.
PHIOR is initialized to H'0000 by an external power-on reset, but is not initialized by a WDT
reset, in standby mode, or in sleep mode.
17.3.26 Port H Control Register (PHCR)
Bit: 15
14
13
12
11
10
9
8
—
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R
R
Bit: 7
6
5
4
3
2
1
0
—
—
—
—
— PH1MD — PH0MD
Initial value:
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R/W
R
R/W
The port H control register (PHCR) is a 16-bit readable/writable register that selects the functions
of pins in port H. PHCR selects the functions of port H pins PH1/DA1 and PH0/DA0.
Rev. 5.00 Sep 11, 2006 page 694 of 916
REJ09B0332-0500