Datasheet
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
P2REN.x
1
1
0
1
0
1
0
Bus
Keeper
EN
DCOR
To DCO
Pad Logic
From Comparator
To Comparator
CAPD.x
in DCO
MSP430F21x2
www.ti.com
SLAS578J –NOVEMBER 2007– REVISED JANUARY 2012
Port P2 Pin Schematic: P2.5, Input/Output With Schmitt Trigger
Table 25. Port P2 (P2.5) Pin Functions
CONTROL BITS / SIGNALS
(1)
PIN NAME (P2.x) x FUNCTION
P2SEL.5
CAPD.5 DCOR P2DIR.5
P2SEL2.x = 0
P2.5 (I/O) 0 0 I: 0, O: 1 0
R
OSC
0 1 X X
P2.5/R
OSC
/CA5 5
DVSS 0 0 1 1
CA5
(2)
1 0 X X
(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.x bit.
Copyright © 2007–2012, Texas Instruments Incorporated Submit Documentation Feedback 57