Section 8 I/O Ports
Rev. 7.00 Mar 10, 2005 page 220 of 652
REJ09B0042-0700
Port Pull-Up Control Register 6 (PUCR6)
Bit
Initial value
Read/Write
7
PUCR6
0
R/W
6
PUCR6
0
R/W
5
PUCR6
0
R/W
4
PUCR6
0
R/W
3
PUCR6
0
R/W
0
PUCR6
0
R/W
2
PUCR6
0
R/W
1
PUCR6
0
R/W
2
10
5
4376
PUCR6 controls whether the MOS pull-up of each of the port 6 pins P6
7
to P6
0
is on or off. When
a PCR6 bit is cleared to 0, setting the corresponding PUCR6 bit to 1 turns on the MOS pull-up for
the corresponding pin, while clearing the bit to 0 turns off the MOS pull-up.
Upon reset, PUCR6 is initialized to H'00.
8.6.3 Pin Functions
Table 8.15 shows the port 6 pin functions.
Table 8.15 Port 6 Pin Functions
Pin Pin Functions and Selection Method
P6
7
/SEG
16
to
P6
0
/SEG
9
The pin function depends on bits PCR6
7
to PCR6
0
in PCR6 and bits SGS3 to
SGS0 in LPCR.
P6
7
to P6
4
(n = 7 to 4)
SGS3 to SGS0 Other than 0100, 0101, 0110, 0111,
1000, 1001, 1010, 1011
0100, 0101, 0110,
0111, 1000, 1001,
1010, 1011
PCR6
n
01*
Pin function P6
n
input pin P6
n
output pin SEG
n+9
output pin
P6
3
to P6
0
(m = 3 to 0)
SGS3 to SGS0 Other than 0011, 0100, 0101, 0110,
0111, 1000, 1001, 1010
0011, 0100, 0101,
0110, 0111, 1000,
1001, 1010
PCR6
m
01*
Pin function P6
m
input pin P6
m
output pin SEG
m+9
output pin
*: Don’t care