Datasheet

MSP430F23x0
MIXED SIGNAL MICROCONTROLLER
SLAS518A -- AUGUST 2006 -- REVISED MAY 2007
48
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Port P2 pin schematic: P2.5, input/output with Schmitt-trigger
Direction
0: Input
1: Output
P2SEL.x
P2DIR.5
P2IN.5
P2IRQ.5
D
EN
Module X IN
Module X OUT
P2OUT.5
Interrupt
Edge Select
Q
EN
Set
P2SEL.5
P2IES.5
P2IFG.5
P2IE.5
P2.5/ROSC/CA5
DVSS
DVCC
1
1
0
1
0
1
0
Bus
Keeper
EN
DCOR
To DCO
Pad Logic
From Comparator
To Comparator
CAPD.5
in DCO
P2REN.5
Port P2.5 pin functions
P
I
N
N
A
M
E
(
P
2
X
)
X
F
U
N
C
T
I
O
N
CONTROL BITS / SIGNALS
PIN N
A
ME (P2.
X
)
X
FUNCTION
CAPD.5 DCOR P2DIR.5 P2SEL.5
P2.5/R
OSC
/CA5 5
P2.5 (I/O) 0 0 I: 0; O: 1 0
/
O
S
C
/
R
OSC
0 1 X X
DV
SS
0 0 1 1
CA5(seeNote2) 1 0 X X
NOTES: 1. X: Don’t care.
2. Setting the CAPD.x bit disables the output driver as well as the input to prevent parasitic cross currents when applying analog signals.
Selecting the CAx input to the comparator multiplexer with the P2CAx bits automatically disables the input buffer for that pin,
regardless of the state of the associated CAPD.s bit.