English
Language : 

LM3S1601 Datasheet, PDF (509/587 Pages) Texas Instruments – ARM and Thumb are registered trademarks and Cortex is a trademark
Stellaris® LM3S1601 Microcontroller
Register 7: Analog Comparator Control 0 (ACCTL0), offset 0x024
Register 8: Analog Comparator Control 1 (ACCTL1), offset 0x044
These registers configure the comparator’s input and output.
Analog Comparator Control 0 (ACCTL0)
Base 0x4003.C000
Offset 0x024
Type R/W, reset 0x0000.0000
31
30
29
28
27
26
25
Type RO
Reset
0
15
Type RO
Reset
0
RO
RO
RO
0
0
0
14
13
12
reserved
RO
RO
RO
0
0
0
RO
RO
RO
0
0
0
11
10
9
ASRCP
RO
R/W
R/W
0
0
0
24
23
22
reserved
RO
RO
RO
0
0
0
8
7
6
reserved
RO
RO
RO
0
0
0
21
20
19
18
17
16
RO
RO
RO
RO
RO
RO
0
0
0
0
0
0
5
4
3
2
1
0
ISLVAL
ISEN
CINV reserved
RO
R/W
R/W
R/W
R/W
RO
0
0
0
0
0
0
Bit/Field
31:11
10:9
Name
reserved
ASRCP
Type
RO
R/W
Reset
0x00
0x00
Description
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
Analog Source Positive
The ASRCP field specifies the source of input voltage to the VIN+ terminal
of the comparator. The encodings for this field are as follows:
Value Function
0x0 Pin value
0x1 Pin value of C0+
0x2 Internal voltage reference
0x3 Reserved
8:5
reserved
RO
0
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
4
ISLVAL
R/W
0
Interrupt Sense Level Value
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
0x0
Interrupt Sense
The ISEN field specifies the sense of the comparator output that
generates an interrupt. The sense conditioning is as follows:
Value Function
0x0 Level sense, see ISLVAL
0x1 Falling edge
0x2 Rising edge
0x3 Either edge
June 19, 2012
509
Texas Instruments-Production Data