6.13.8 Port P4 (P4.0 to P4.7), Port P5 (P5.0 to P5.7), Port P6 (P6.0 to P6.7), Port P7 (P7.0 to P7.7), Port P8 (P8.0 to P8.3) Input/Output With Schmitt Trigger (PZ Package Only)
Figure 6-11 shows the port diagram. Table 6-25 through Table 6-29 summarize the selection of the pin functions.
Table 6-25 Port P4 (P4.0 to P4.7) Pin Functions (PZ Package Only)
PIN NAME (P4.x) |
x |
FUNCTION |
CONTROL BITS AND SIGNALS(2) |
P4DIR.x |
P4SEL.x |
LCDS35– LCDS28 |
P4.0/S35 |
0 |
P4.0 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S35 |
X |
X |
1 |
P4.1/S34 |
1 |
P4.1 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S34 |
X |
X |
1 |
P4.2/S33 |
2 |
P4.2 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S33 |
X |
X |
1 |
P4.3/S32 |
3 |
P4.3 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S32 |
X |
X |
1 |
P4.4/S31 |
4 |
P4.4 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S31 |
X |
X |
1 |
P4.5/S30 |
5 |
P4.5 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S30 |
X |
X |
1 |
P4.6/S29 |
6 |
P4.6 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S29 |
X |
X |
1 |
P4.7/S28 |
7 |
P4.7 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S28 |
X |
X |
1 |
Table 6-26 Port P5 (P5.0 to P5.7) Pin Functions (PZ Package Only)
PIN NAME (P5.x) |
x |
FUNCTION |
CONTROL BITS AND SIGNALS(2) |
P5DIR.x |
P5SEL.x |
LCDS27– LCDS20 |
P5.0/S27 |
0 |
P5.0 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S27 |
X |
X |
1 |
P5.1/S26 |
1 |
P5.1 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S26 |
X |
X |
1 |
P5.2/S25 |
2 |
P5.2 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S25 |
X |
X |
1 |
P5.3/S24 |
3 |
P5.3 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S24 |
X |
X |
1 |
P5.4/S23 |
4 |
P5.4 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S23 |
X |
X |
1 |
P5.5/S22 |
5 |
P5.5 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S22 |
X |
X |
1 |
P5.6/S21 |
6 |
P5.6 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S21 |
X |
X |
1 |
P5.7/S20 |
7 |
P5.7 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S20 |
X |
X |
1 |
Table 6-27 Port P6 (P6.0 to P6.7) Pin Functions (PZ Package Only)
PIN NAME (P6.x) |
x |
FUNCTION |
CONTROL BITS AND SIGNALS(2) |
P6DIR.x |
P6SEL.x |
LCDS19– LCDS12 |
P6.0/S19 |
0 |
P6.0 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S19 |
X |
X |
1 |
P6.1/S18 |
1 |
P6.1 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S18 |
X |
X |
1 |
P6.2/S17 |
2 |
P6.2 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S17 |
X |
X |
1 |
P6.3/S16 |
3 |
P6.3 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S16 |
X |
X |
1 |
P6.4/S15 |
4 |
P6.4 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S15 |
X |
X |
1 |
P6.5/S14 |
5 |
P6.5 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S14 |
X |
X |
1 |
P6.6/S13 |
6 |
P6.6 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S13 |
X |
X |
1 |
P6.7/S12 |
7 |
P6.7 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S12 |
X |
X |
1 |
Table 6-28 Port P7 (P7.0 to P7.7) Pin Functions (PZ Package Only)
PIN NAME (P7.x) |
x |
FUNCTION |
CONTROL BITS AND SIGNALS(2) |
P7DIR.x |
P7SEL.x |
LCDS11– LCDS4 |
P7.0/S11 |
0 |
P7.0 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S11 |
X |
X |
1 |
P7.1/S10 |
1 |
P7.1 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S10 |
X |
X |
1 |
P7.2/S9 |
2 |
P7.2 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S9 |
X |
X |
1 |
P7.3/S8 |
3 |
P7.3 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S8 |
X |
X |
1 |
P7.4/S7 |
4 |
P7.4 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S7 |
X |
X |
1 |
P7.5/S6 |
5 |
P7.5 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S6 |
X |
X |
1 |
P7.6/S5 |
6 |
P7.6 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S5 |
X |
X |
1 |
P7.7/S4 |
7 |
P7.7 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S4 |
X |
X |
1 |
Table 6-29 Port P8 (P8.0 to P8.3) Pin Functions (PZ Package Only)
PIN NAME (P8.x) |
x |
FUNCTION |
CONTROL BITS AND SIGNALS(2) |
P8DIR.x |
P8SEL.x |
LCDS3– LCDS0 |
P8.0/S3 |
0 |
P8.0 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S3 |
X |
X |
1 |
P8.1/S2 |
1 |
P8.1 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S2 |
X |
X |
1 |
P8.2/S1 |
2 |
P8.2 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S1 |
X |
X |
1 |
P8.3/S0 |
3 |
P8.3 (I/O) |
I: 0; O: 1 |
0 |
0 |
N/A |
0 |
1 |
0 |
DVSS |
1 |
1 |
0 |
S0 |
X |
X |
1 |