165
8.8.3
Pin Functions
Table 8.21 shows the port 8 pin functions.
Table 8.21
Port 8 Pin Functions
Pin
Pin Functions and Selection Method
P8
7
/SEG
32
/
CL
1
The pin function depends on bit PCR8
7
in PCR8 and bits SGX and SGS3 to SGS0
in LPCR.
SEGS3 to SEGS0
000
*
001
*
, 01
**
, 1
***
0000
SGX
0
0
1
PCR8
7
0
1
*
*
Pin function
P8
7
input pin
P8
7
output pin SEG
32
output pin CL
1
output pin
P8
6
/SEG
31
/
CL
2
The pin function depends on bit PCR8
6
in PCR8 and bits SGX and SGS3 to SGS0
in LPCR.
SEGS3 to SEGS0
000
*
001
*
, 01
**
, 1
***
0000
SGX
0
0
1
PCR8
6
0
1
*
*
Pin function
P8
6
input pin
P8
6
output pin SEG
31
output pin CL
2
output pin
P8
5
/SEG
30
/
DO
The pin function depends on bit PCR8
5
in PCR8 and bits SGX and SGS3 to SGS0
in LPCR.
SEGS3 to SEGS0
000
*
001
*
, 01
**
, 1
***
0000
SGX
0
0
1
PCR9
5
0
1
*
*
Pin function
P8
5
input pin
P8
5
output pin SEG
30
output pin D0 output pin
P8
4
/SEG
29
/
M
The pin function depends on bit PCR8
4
in PCR8 and bits SGX and SGS3 to SGS0
in LPCR.
SEGS3 to SEGS0
000
*
001
*
, 01
**
, 1
***
0000
SGX
0
0
1
PCR9
4
0
1
*
*
Pin function
P8
4
input pin
P8
4
output pin SEG
29
output pin
M output pin
P8
3
/SEG
28
to
P8
0
/SEG
25
The pin function depends on bit PCR8
n
in PCR8 and bits SGS3 to SGS0 in LPCR.
(n = 3 to 0)
SEGS3 to SEGS0
000
*
001
*
, 01
**
, 1
***
PCR8
n
0
1
*
Pin function
P8
n
input pin
P8
n
output pin
SEG
n+25
output pin
*
: Don’t care