Datasheet

Table Of Contents
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
47
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Port P2 pin schematic: P2.0 to P2.1, input/output with Schmitt trigger, LCD and analog functions
Bus
Keeper
EN
Direction
0: Input
1: Output
P2SEL.x
1
0
P2DIR.x
P2IN.x
LCDS12
Segment Sy
Pad Logic
P2IRQ.x
1
0
P2OUT.x
Note: x = 0,1
y = 13,12
P2.0/S13/SW0C
P2.1/S12/SW1C
Interrupt
Edge
Select
Q
EN
Set
P2SEL.x
P2IES.x
P2IFG.x
P2IE.x
SWCTL.SWCLT2 (SW0C)
SWCTL.SWCLT6 (SW1C)
AV
SS
DV
SS
Port P2 (P2.0, P2.1) pin functions
PIN NAME (P2 X)
X
FUNCTION
CONTROL BITS / SIGNALS
PIN NAME (P2.X)
X FUNCTION
P2DIR.x P2SEL.x LCDS12
P2.0/S13/SW0C 0
P2.0† Input/Output 0/1 0 0
SW0C (see Notes 3, 4) X 1 0
S13 X X 1
P2.1/S12/SW1C 1
P2.1† Input/Output 0/1 0 0
SW1C (see Notes 3, 4) X 1 0
S12 X X 1
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the P2SEL.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
4. The low impedance switch to ground is closed by setting the corresponding bits in SWCTL register.