Section 18 I/O Ports
Rev. 5.00 May 29, 2006 page 522 of 698
REJ09B0146-0500
18.8.2
Port H Data Register (PHDR)
Port H data register (PHDR) is a 7-bit read/write and 1-bit read register that stores data for pins
PTH6 to PTH0. PH6DT to PH0DT bit corresponds to PTH6 to PTH0 pin. 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.
PHDR is initialized to H'00 by a power-on reset. It retains its previous value in standby mode and
sleep mode, and in a manual reset.
Note that the low level is read if bits 6 to 0 are read except in general-purpose input.
Bit
Bit Name
Initial Value
R/W
Description
7
*
R
Reserved
6
PH6DT
0
R/W
Table 18.8 shows the function of PHDR.
5
PH5DT
0
R/W
4
PH4DT
0
R/W
3
PH3DT
0
R/W
2
PH2DT
0
R/W
1
PH1DT
0
R/W
0
PH0DT
0
R/W
Legend:
*
Undefined
Table 18.8
Read/Write Operation of the Port H Data Register (PHDR)
PHnMD1 PHnMD0 Pin State
Read
Write
0
Other function PHDR value
Value is written to PHDR, but does not affect
pin state.
0
1
Output
PHDR value
Write value is output from pin.
0
Input (Pull-up
MOS: on)
Pin state
Value is written to PHDR, but does not affect
pin state.
1
1
Input (Pull-up
MOS: off)
Pin state
Value is written to PHDR, but does not affect
pin state.
Note:
n = 0 to 6
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...