Datasheet

Section 9 I/O Ports
Rev. 1.50 Sep. 18, 2007 Page 149 of 584
REJ09B0240-0150
P85 pin
Register PCR8
Bit Name PCR85 Pin Function
Setting Value 0 P85 input pin
1 P85 output pin
9.7 Port C
Port C is a general I/O port. Each pin of port C is shown in figure 9.7.
PC1
PC2
PC3
PC0
Port C
Figure 9.7 Port C Pin Configuration
Port C has the following registers.
Port control register C (PCRC)
Port data register C (PDRC)
9.7.1 Port Control Register C (PCRC)
PCRC selects inputs/outputs in bit units for pins to be used as general I/O ports of port C.
Bit Bit Name
Initial
Value R/W Description
7 to 4 Reserved
3
2
1
0
PCRC3
PCRC2
PCRC1
PCRC0
0
0
0
0
W
W
W
W
Setting a PCR9 bit to 1 makes the corresponding pin
an output port, while clearing the bit to 0 makes the pin
an input port.