278 / 342 page

Analog Comparators
278
October 6, 2006
Preliminary
Register 8: Analog Comparator Control 0 (ACCTL0), offset 0x24
Register 9: Analog Comparator Control 1 (ACCTL1), offset 0x44
Register 10: Analog Comparator Control 2 (ACCTL2), offset 0x64
These registers configure that comparator’s input and output.
Bit/Field
Name
Type
Reset
Description
31:11
reserved
RO
0
Reserved bits return an indeterminate value, and should
never be changed.
10:9
ASRCP
R/W
0
The ASRCP field specifies the source of input voltage to the
VIN+ terminal of the comparator. The encodings for this field
are as follows:
8:5
reserved
RO
0
Reserved bits return an indeterminate value, and should
never be changed.
4
ISLVAL
R/W
0
The ISLVAL bit specifies the sense value of the input that
generates an interrupt if in Level Sense mode. If 0, an
interrupt is generated if the comparator output is Low.
Otherwise, an interrupt is generated if the comparator output
is High.
3:2
ISEN
R/W
0
The ISEN field specifies the sense of the comparator output
that generates an interrupt. The sense conditioning is as
follows:
reserved
RO
0
Analog Comparator Control 0 (ACCTL0)
Offset 0x024
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
Type
000000000000000
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
0
Reset
Type
00000000000000
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
reserved
0
RO
0
RO
0
R/W
0
R/W
0
ASRCP
RO
0
RO
0
ISLVAL
R/W
0
R/W
0
R/W
0
ISEN
RO
0
CINV
R/W
0
reserved
reserved
ASRCP
Function
00
Pin value
01
Pin value of C0+
10
Internal voltage reference
11
Reserved
ISEN
Function
00
Level sense, see ISLVAL
01
Falling edge
10
Rising edge
11
Either edge