Table 6-46 Port P5 (P5.0 and P5.1) Pin Functions
PIN NAME (P5.x) |
x |
FUNCTION |
CONTROL BITS OR SIGNALS(1) |
P5DIR.x |
P5SEL.x |
REFOUT |
P5.0/A8/VREF+/VeREF+ |
0 |
P5.0 (I/O)(2) |
I: 0; O: 1 |
0 |
X |
VeREF+(3) |
X |
1 |
0 |
VREF+(4) |
X |
1 |
1 |
A8(5) |
X |
1 |
0 |
P5.1/A9/VREF–/VeREF– |
1 |
P5.1 (I/O)(2) |
I: 0; O: 1 |
0 |
X |
VeREF–(6) |
X |
1 |
0 |
VREF–(7) |
X |
1 |
1 |
A9(8) |
X |
1 |
0 |
(1) X = Don't care
(2) Default condition
(3) Setting the P5SEL.0 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals. An external voltage can be applied to VeREF+ and used as the reference for the ADC12_A.
(4) Setting the P5SEL.0 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals. The ADC12_A, VREF+ reference is available at the pin.
(5) When not using an external reference applied to VeREF+ or not outputting the internal reference to VREF+, A8 may be used as an external ADC channel. Setting the P5SEL.0 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals.
(6) Setting the P5SEL.1 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals. An external voltage can be applied to VeREF- and used as the reference for the ADC12_A.
(7) Setting the P5SEL.1 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals. The ADC12_A, VREF– reference is available at the pin.
(8) When not using an external reference applied to VeREF+ or not outputting the internal reference to VREF+, A8 may be used as an external ADC channel. Setting the P5SEL.1 bit disables the output driver and the input Schmitt trigger to prevent parasitic cross currents when applying analog signals.