Datasheet
Bus
Keeper
EN
Direction
0: Input
1: Output
P2SEL.4
1
0
P2DIR.4
P2IN.4
P2IRQ.4
D
EN
Module X IN
1
0
Module X OUT
P2OUT.4
Interrupt
Edge
Select
Q
EN
Set
P2SEL.4
P2IES.4
P2IFG.4
P2IE.4
P2.4/TA2/
A4/VREF+/VeREF+/
OA1I0
1
0
DVSS
DVCC
P2REN.4
ADC10AE0.4
Pad Logic
INCHx = 4
To ADC 10
1
To/from ADC10
positive reference
OA1
+
−
MSP430F22x2
MSP430F22x4
www.ti.com
SLAS504G –JULY 2006–REVISED AUGUST 2012
Port P2 Pin Schematic: P2.4, Input/Output With Schmitt Trigger
Table 27. Port P2 (P2.4) Pin Functions
CONTROL BITS/SIGNALS
(1)
PIN NAME (P2.x) x y FUNCTION
P2DIR.x P2SEL.x ADC10AE0.y
P2.4
(2)
(I/O) I: 0; O: 1 0 0
P2.4/TA2/A4/V
REF+
/
4 4 Timer_A3.TA2 1 1 0
V
eREF+
/ OA1I0
A4/V
REF+
/V
eREF+
/OA1I0
(3)
X X 1
(1) X = Don't care
(2) Default after reset (PUC/POR)
(3) Setting the ADC10AE0.y bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
Copyright © 2006–2012, Texas Instruments Incorporated 65