Hitachi H8/3692 ユーザーズマニュアル

ページ / 397
Rev. 1.0, 07/01, page 127 of 372
9.5.2
 
Port Data Register 8(PDR8)
PDR8 is a general I/O port data register of port 8.
Bit
Bit Name
Initial Value R/W
Description
7
6
5
4
3
2
1
0
P87
P86
P85
P84
P83
P82
P81
P80
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PDR8 stores output data for port 8 pins.
PDR8 is read while PCR8 bits are set to 1, the value stored
in PDR8 is read. If PDR8 is read while PCR8 bits are
cleared to 0, the pin states are read regardless of the value
stored in PDR8.
9.5.3
 
Pin Functions
The correspondence between the register specification and the port functions is shown below.
P87 pin
Register
PCR8
Bit Name
PCR87
Pin Function
Setting Value 0
P87 input pin
1
P87 output pin
P86 pin
Register
PCR8
Bit Name
PCR86
Pin Function
Setting Value 0
P86 input pin
1
P86 output pin
P85 pin
Register
PCR8
Bit Name
PCR85
Pin Function
Setting Value 0
P85 input pin
1
P85 output pin