154
Mode 7: Input or output can be selected separately for each pin in port 6. A pin becomes an output
pin if the corresponding P6DDR bit is set to 1, and an input pin if this bit is cleared to 0. Figure 7-
18 shows the pin functions in mode 7.
Port 6
P6
P6
P6
P6
5
4
3
0
(input/output)
(input/output)
(input/output)
(input/output)
Figure 7-18 Pin Functions in Mode 7 (Port 6)