134
Port 1
A (output)
A (output)
A (output)
A (output)
A (output)
A (output)
A (output)
A (output)
7
6
5
4
3
2
1
0
When P1DDR = 1
P1 (input)
P1 (input)
P1 (input)
P1 (input)
P1 (input)
P1 (input)
P1 (input)
P1 (input)
7
6
5
4
3
2
1
0
When P1DDR = 0
Figure 7-3 Pin Functions in Modes 5 and 6 (Port 1)
Mode 7 (Single-Chip Mode): Input or output can be selected separately for each pin in port 1. A
pin becomes an output pin if the corresponding P1DDR bit is set to 1, and an input pin if this bit is
cleared to 0. Figure 7-4 shows the pin functions in mode 7.
Port 1
P1 (input/output)
P1 (input/output)
P1 (input/output)
P1 (input/output)
P1 (input/output)
P1 (input/output)
P1 (input/output)
P1 (input/output)
7
6
5
4
3
2
1
0
Figure 7-4 Pin Functions in Mode 7 (Port 1)