English
Language : 

LM3S1969 Datasheet, PDF (546/677 Pages) Texas Instruments – Stellaris® LM3S1969 Microcontroller
OBSOLETE: TI has discontinued production of this device.
Analog Comparators
4. Configure comparator 0 to use the internal voltage reference and to not invert the output by
writing the ACCTL0 register with the value of 0x0000.040C.
5. Delay for some time.
6. Read the comparator output value by reading the ACSTAT0 register’s OVAL value.
Change the level of the signal input on C0- to see the OVAL value change.
15.5
Register Map
Table 15-3 on page 546 lists the comparator registers. The offset listed is a hexadecimal increment
to the register’s address, relative to the Analog Comparator base address of 0x4003.C000.
Note that the analog comparator module clock must be enabled before the registers can be
programmed (see page 217). There must be a delay of 3 system clocks after the ADC module clock
is enabled before any ADC module registers are accessed.
Table 15-3. Analog Comparators Register Map
Offset Name
Type
Reset
Description
0x000
0x004
0x008
0x010
0x020
0x024
0x040
0x044
0x060
0x064
ACMIS
ACRIS
ACINTEN
ACREFCTL
ACSTAT0
ACCTL0
ACSTAT1
ACCTL1
ACSTAT2
ACCTL2
R/W1C
RO
R/W
R/W
RO
R/W
RO
R/W
RO
R/W
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
Analog Comparator Masked Interrupt Status
Analog Comparator Raw Interrupt Status
Analog Comparator Interrupt Enable
Analog Comparator Reference Voltage Control
Analog Comparator Status 0
Analog Comparator Control 0
Analog Comparator Status 1
Analog Comparator Control 1
Analog Comparator Status 2
Analog Comparator Control 2
See
page
547
548
549
550
551
552
551
552
551
552
15.6
Register Descriptions
The remainder of this section lists and describes the Analog Comparator registers, in numerical
order by address offset.
546
July 24, 2012
Texas Instruments-Production Data