Texas Instruments MSP430x1xx User Manual page 356

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Comparator_A Registers
CACTL1, Comparator_A Control Register 1
7
6
CAEX
CARSEL
rw−(0)
rw−(0)
CAEX
Bit 7
Comparator_A exchange. This bit exchanges the comparator inputs and
inverts the comparator output.
CARSEL
Bit 6
Comparator_A reference select. This bit selects which terminal the V
is applied to.
When CAEX = 0:
0
1
When CAEX = 1:
0
1
CAREF
Bits
Comparator_A reference. These bits select the reference voltage V
5-4
00
01
10
11
CAON
Bit 3
Comparator_A on. This bit turns on the comparator. When the comparator
is off it consumes no current. The reference circuitry is enabled or disabled
independently.
0
1
CAIES
Bit 2
Comparator_A interrupt edge select
0
1
CAIE
Bit 1
Comparator_A interrupt enable
0
1
CAIFG
Bit 0
The Comparator_A interrupt flag
0
1
16-10
Comparator_A
5
4
CAREFx
CAON
rw−(0)
rw−(0)
rw−(0)
V
is applied to the + terminal
CAREF
V
is applied to the – terminal
CAREF
V
is applied to the – terminal
CAREF
V
is applied to the + terminal
CAREF
Internal reference off. An external reference can be applied.
0.25*V
CC
0.50*V
CC
Diode reference is selected
Off
On
Rising edge
Falling edge
Disabled
Enabled
No interrupt pending
Interrupt pending
3
2
1
CAIES
CAIE
rw−(0)
rw−(0)
0
CAIFG
rw−(0)
CAREF
CAREF.

Advertisement

Table of Contents
loading

Table of Contents