Renesas HD6417641 用户手册

下载
页码 1036
Section 23   I/O Ports 
 
 
Rev. 4.00  Sep. 14, 2005  Page 861 of 982 
 
 REJ09B0023-0400 
23.8.2 
Port H Data Register (PHDR) 
PHDR is a 15-bit readable/writable register with one reserved bit that stores data for pins PTH14 
to PTH0. PHDR is initialized to H'0000 by a power-on reset, but it retains its previous value by a 
manual reset, in standby mode, or in sleep mode. 
Bit Bit 
Name 
Initial 
Value R/W 
Description 
15 
 0 
Reserved 
This bit is always read as 0. The write value should 
always be 0. 
14 PH14DT 
0  R/W 
13 PH13DT 
0  R/W 
12 PH12DT 
0  R/W 
11 PH11DT 
0  R/W 
10 PH10DT 
0  R/W 
9 PH9DT 
0 R/W 
8 PH8DT 
0 R/W 
7 PH7DT 
0 R/W 
6 PH6DT 
0 R/W 
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 
Bits PH14DT to PH0DT correspond to pins PTH14 to 
PTH0. When the pin function is general output port, the 
value of the corresponding bit in PHDR is returned 
directly by reading the port. When the function is 
general input port, the corresponding pin level is read 
by reading the port. Table 23.11 shows the function of 
PHDR.