English
Language : 

LM3S6G11 Datasheet, PDF (717/827 Pages) Texas Instruments – Stellaris® LM3S6G11 Microcontroller
OBSOLETE: TI has discontinued production of this device.
Stellaris® LM3S6G11 Microcontroller
16
16.1
Analog Comparators
An analog comparator is a peripheral that compares two analog voltages and provides a logical
output that signals the comparison result.
Note: Not all comparators have the option to drive an output pin. See “Signal
Description” on page 717 for more information.
The comparator can provide its output to a device pin, acting as a replacement for an analog
comparator on the board. In addition, the comparator can signal the application via interrupts.
The Stellaris® LM3S6G11 microcontroller provides two independent integrated analog comparators
with the following functions:
■ Compare external pin input to external pin input or to internal programmable voltage reference
■ Compare a test voltage against any one of the following voltages:
– An individual external reference voltage
– A shared single external reference voltage
– A shared internal reference voltage
Block Diagram
Figure 16-1. Analog Comparator Module Block Diagram
C1-
-ve input Comparator 1
C1+
+ve input
output
C1o
+ve input (alternate)
ACCTL1
ACSTAT1
interrupt
reference input
C0-
-ve input Comparator 0
C0+
+ve input
output
C0o
+ve input (alternate)
ACCTL0
ACSTAT0
interrupt
reference input
internal
bus
Voltage
Ref
ACREFCTL
Interrupt Control
ACRIS
ACMIS
ACINTEN
16.2
interrupt
Signal Description
The following table lists the external signals of the Analog Comparators and describes the function
of each. The Analog Comparator output signals are alternate functions for some GPIO signals and
July 24, 2012
717
Texas Instruments-Production Data