Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 195 of 692
REJ09B0309-0200
9.11.2 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
6
5
4
3
2
1
0
PCRC7
PCRC6
PCRC5
PCRC4
PCRC3
PCRC2
PCRC1
PCRC0
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
Setting a PCRC bit to 1 makes the corresponding pin
an output pin, while clearing the bit to 0 makes the pin
an input pin.
PCRC is a write-only register. These bits are always
read as 1.
9.11.3 Pin Functions
The relationship between the register settings and the port functions is shown below.
PC7/SEG40 to PC0/SEG33 pins
(n = 7 to 0)
Register Name LPCR PCRC
Bit Name SGS3 to SGS0 PCRCn
Pin Function
0 PCn input pin B'0xxx
1 PCn output pin
Setting Value
B'1xxx x SEGn+33 output pin
[Legend]
x: Don't care