Figure 9-6 shows the port diagram. Table 9-53 summarizes the selection of the pin function.
Table 9-53 Port P5 (P5.0 and P5.1) Pin FunctionsPIN NAME (P5.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) |
---|
P5DIR.x | P5SEL.x | REFOUT(3) |
---|
P5.0/A8/VeREF+ | 0 | P5.0 (I/O)(2) | I: 0; O: 1 | 0 | X |
A8/VeREF+(4) | X | 1 | 0 |
P5.1/A9/VeREF– | 1 | P5.1 (I/O)(2) | I: 0; O: 1 | 0 | X |
A9/VeREF–(5) | X | 1 | 0 |
(1) X = Don't care
(2) Default condition
(3) REFOUT resides in the REF module.
(4) 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 ADC10_A. Channel A8, when selected with the INCHx bits, is connected to the VeREF+ pin.
(5) 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 ADC10_A. Channel A9, when selected with the INCHx bits, is connected to the VeREF- pin.