Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 179 of 692
REJ09B0309-0200
9.6.2 Port Control Register 7 (PCR7)
PCR7 selects inputs/outputs in bit units for pins of
port 7.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
PCR77
PCR76
PCR75
PCR74
PCR73
PCR72
PCR71
PCR70
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
Setting a PCR7 bit to 1 makes the corresponding pin an
output pin, while clearing the bit to 0 makes the pin an
input pin. The settings in PCR7 and in PDR7 are valid
when the corresponding pin is designated as a general
I/O pin.
PCR7 is a write-only register. These bits are always
read as 1.
9.6.3 Pin Functions
The relationship between the register settings and the port functions is shown below.
P77/SEG24 to P74/SEG21 pins
(n = 7 to 4)
Register
Name
LPCR PCR7
Bit Name SGS3 to SGS0 PCR7n
Pin Function
0 P7n input pin B'00xx, B'010x, B'111x
1 P7n output pin
Setting Value
Other than B'00xx, B'010x,
B'111x
x SEGn+17 output pin
[Legend]
x: Don't care