English
Language : 

MSP430G2X52 Datasheet, PDF (43/58 Pages) Texas Instruments – MIXED SIGNAL MICROCONTROLLER
MSP430G2x52
MSP430G2x12
www.ti.com
SLAS722B – DECEMBER 2010 – REVISED MARCH 2011
Port P2 Pin Schematic: P2.0 to P2.5, Input/Output With Schmitt Trigger
PxSEL.y
PxDIR.y
0
Direction
1
0: Input
1: Output
PxSEL2.y
PxSEL.y
PxREN.y
0
1
1
0
PxSEL2.y
PxSEL.y
1
PxOUT.y
0
0
TAx.y
TAxCLK
PxIN.y
To Module
PxIRQ.y
PxSEL.y
PxIES.y
0
1
2
3
EN
D
PxIE.y
PxIFG.y
EN
Q
Set
Interrupt
Edge
Select
DVSS
0
DVCC
1
1
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
Table 18. Port P2 (P2.0 to P2.5) Pin Functions
PIN NAME
(P2.x)
P2.0/
Pin Osc
P2.1/
Pin Osc
P2.2/
Pin Osc
P2.3/
Pin Osc
P2.4/
Pin Osc
P2.5/
Pin Osc
x
P2.x (I/O)
0
Capacitive sensing
P2.x (I/O)
1
Capacitive sensing
P2.x (I/O)
2
Capacitive sensing
P2.x (I/O)
3
Capacitive sensing
P2.x (I/O)
4
Capacitive sensing
P2.x (I/O)
5
Capacitive sensing
FUNCTION
CONTROL BITS / SIGNALS(1)
P2DIR.x
P2SEL.x
P2SEL2.x
I: 0; O: 1
0
0
X
0
1
I: 0; O: 1
0
0
X
0
1
I: 0; O: 1
0
0
X
0
1
I: 0; O: 1
0
0
X
0
1
I: 0; O: 1
0
0
X
0
1
I: 0; O: 1
0
0
X
0
1
(1) X = don't care
Copyright © 2010–2011, Texas Instruments Incorporated
Submit Documentation Feedback
43