Comparator_a – Texas Instruments MSP430x11x1 User Manual
Page 22
Advertising

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
VCAREF
0
1
2
3
CAREF
0.5 x VCC
0.25 x VCC
CA1
CA0
P2.2/
CAOUT/TA0
0 V
0 V
0 V
0 V
VCC
1
0 V
0
CAON
VCC
1
0 V
0
Figure 5. Block Diagram of Comparator_A
Advertising