Datasheet
Section 9 I/O Ports
Rev. 1.50 Sep. 18, 2007 Page 147 of 584
REJ09B0240-0150
• P70/SCK3_2 pin
Register SCR3_2 SMR_2 PCR7
Bit Name CKE1 CKE0 COM PCR70 Pin Function
Setting Value 0 0 0 0 P70 input pin
1 P70 output pin
0 0 1 X SCK3_2 output pin
0 1 X X SCK3_2 output pin
1 X X X SCK3_2 input pin
[Legend] X: Don't care.
9.6 Port 8
Port 8 is a general I/O port. Each pin of port 8 is shown in figure 9.6.
P85
P86
P87
Port 8
Figure 9.6 Port 8 Pin Configuration
Port 8 has the following registers.
• Port control register 8 (PCR8)
• Port data register 8 (PDR8)
9.6.1 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
PCR87
PCR86
PCR85
0
0
0
W
W
W
When each of the port 8 pins P87 to P80 functions as a
general I/O port, setting a PCR8 bit to 1 makes the
corresponding pin an output port, while clearing the bit
to 0 makes the pin an input port.
4 to 0 Reserved










