Figure 9-21 shows the port diagram. Table 9-33 summarizes the selection of the port function.
Table 9-33 Port P7 (P7.7) Pin Functions
PIN NAME (P7.x) |
x |
FUNCTION |
CONTROL BITS OR SIGNALS(1) |
P6DIR.x |
P7SEL.x(3) |
CBPD.x(3) |
GSW1(3) |
P7.7/CB11/AD3-/G1SW1 |
7 |
P7.7 (I/O) |
I: 0; O: 1 |
0 |
0 |
0 |
CB11 |
X |
X |
1 |
0 |
AD3- (2) |
X |
1 |
X |
0 |
G1SW1(4) |
X |
X |
X |
1 |
(1) X = Don't care
(2) The ADC channel Ax is connected internally to AVSS if not selected by the respective INCHx bits.
(3) Setting the P7SEL.x bit, the CBPD.x bit, or the GSW1 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals.
(4) Setting GSW1 = 1 closes the switch and forces the pin to be switched to ground. All switches are independent of each other, so different settings can impose different voltages on the pin. Application must ensure there are no conflicts.