Datasheet
MSP430x41x
MIXED SIGNAL MICROCONTROLLER
SLAS340J − MAY 2001 − REVISED DECEMBER 2008
44
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
APPLICATION INFORMATION
port P5, P5.2 to P5.4, input/output with Schmitt trigger
P5SEL.2 P5DIR.2 P5OUT.2
P5IN.2 COM1
P5DIR.2
DVSS
Unused
PnSEL.x PnDIR.x
Direction
From Module
PnOUT.x
Module X
OUT
PnIN.x
COMx
Module X IN
Control
NOTE: 2 ≤ x ≤ 4
DVSS
Unused
0: Port Active
1: COMx Function
P5OUT.x
Module X OUT
P5DIR.x
Direction Control
From Module
P5SEL.x
D
EN
P5.x
0
1
1
0
Pad Logic
0: Input
1: Output
Bus
keeper
Module X IN
P5IN.x
COMx
Active
P5.2/COM1
P5.3/COM2
DVSS
Unused
P5SEL.3 P5DIR.3 P5OUT.3
P5IN.3 COM2
P5DIR.3 DVSS
Unused
P5SEL.4 P5DIR.4 P5OUT.4
P5IN.4 COM3
P5DIR.4 DVSS
Unused
P5.4/COM3
NOTE:
The direction control bits P5SEL.2, P5SEL.3, and P5SEL.4 are used to distinguish between port
and common functions. Note that a 4MUX LCD requires all common signals COM3 to COM0, a
3MUX LCD requires COM2 to COM0, 2MUX LCD requires COM1 to COM0, and a static LCD
requires only COM0.