Datasheet

Section 9 I/O Ports
Rev. 4.00 Mar. 15, 2006 Page 136 of 556
REJ09B0026-0400
9.6.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
P87
P86
P85
0
0
0
R/W
R/W
R/W
PDR8 stores output data for port 8 pins.
If 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.
4 to 0 All 1 Reserved
These bits are always read as 1.
9.6.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