English
Language : 

HD6417705F133V Datasheet, PDF (565/741 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
20.8.1 Register Description
Port H has the following register. For details on the register address and access size, see section
24, List of Registers.
• Port H data register (PHDR)
20.8.2 Port H Data Register (PHDR)
PHDR is an 8-bit readable/writable register that stores data for pins PTH6 to PTH0. Bits PH6DT
to PH0DT correspond to pins PTH6 to PTH0. When the pin function is general output port, if the
port is read, the value of the corresponding PHDR bit is returned directly. When the function is
general input port, if the port is read, the corresponding pin level is read.
Bit
Bit Name
7—
Initial
Value R/W
0
R
6 to PH6DT 0
R/W
0 to
PH0DT
Description
Reserved
This bit is always read as 0. The write value should
always be 0.
Table 20.8 shows the function of PHDR.
Table 20.8 Port H Data Register (PHDR) Read/Write Operations
PHCR State
PHnMD1 PHnMD0 Pin State
Read
Write
0
0
Other function PHDR value Data can be written to PHDR but no effect
on pin state.
1
Output
PHDR value Written data is output from the pin.
1
0
Input (Pull-up Pin state
Data can be written to PHDR but no effect
MOS on)
on pin state.
1
Input (Pull-up Pin state
Data can be written to PHDR but no effect
MOS off)
on pin state.
Note: n = 0 to 6
Rev. 2.00, 09/03, page 517 of 690