Texas Instruments MSP430x11x1 Computer Hardware User Manual


 
MSP430x11x1
MIXED SIGNAL MICROCONTROLLER
SLAS241C – SEPTEMBER 1999 – REVISED JUNE 2000
22
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Comparator_A
The primary function of the comparator module is to support precision A/D slope conversion applications,
battery voltage supervision, and observation of external analog signals. The comparator is connected to port
pins P2.3/CA0 and to P2.4/CA1. It is controlled via twelve control bits in registers CACTL1 and CACTL2.
P2.3/
CA0/
TA1
P2CA0
P2.4/
CA1/
TA2
0
1
0
1
P2CA1
0
1
0
1
_
+
CAON
0
1
CAEX
0
1
CAF
Low Pass Filter
τ 2.0 µs
CCI1B
Set CAIFG
Flag
CAOUT
0
CARSEL
1
0
2
1
3
V
CAREF
0123
CAREF
0.5 x V
CC
0.25 x V
CC
CA1
CA0
P2.2/
CAOUT/TA0
0 V
0 V
0 V 0 V
V
CC
1
0 V
0
CAON
V
CC
1
0 V
0
Figure 5. Block Diagram of Comparator_A