Figure 9-20 shows the port diagram. Table 9-32 summarizes the selection of the port function.
Table 9-32 Port P7 (P7.6) Pin Functions
PIN NAME (P7.x) |
x |
FUNCTION |
CONTROL BITS OR SIGNALS(1) |
P6DIR.x |
P7SEL.x(3) |
CBPD.x(3) |
GSW0(3) |
P7.6/CB10/AD3+/G1SW0 |
6 |
P7.6 (I/O) |
I: 0; O: 1 |
0 |
0 |
0 |
CB10 |
X |
X |
1 |
0 |
AD3+ (2) |
X |
1 |
X |
0 |
G1SW0(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 GSW0 disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals.
(4) Setting GSW0 = 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.