Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 181 of 692
REJ09B0309-0200
9.7.1 Port Data Register 8 (PDR8)
PDR8 is a register that stores data 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
If port 8 is read while PCR8 bits are set to 1, the values
stored in PDR8 are read, regardless of the actual pin
states. If port 8 is read while PCR8 bits are cleared to 0,
the pin states are read.
9.7.2 Port Control Register 8 (PCR8)
PCR8 selects inputs/outputs in bit units for pins to be used as general I/O ports of
port 8.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
PCR87
PCR86
PCR85
PCR84
PCR83
PCR82
PCR81
PCR80
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
Setting a PCR8 bit to 1 makes the corresponding pin
(P87 to P80) an output pin, while clearing the bit to 0
makes the pin an input pin. The settings in PCR8 and in
PDR8 are valid when the corresponding pin is
designated as a general I/O pin.
PCR8 is a write-only register. These bits are always
read as 1.