English
Language : 

LM3S101 Datasheet, PDF (379/445 Pages) List of Unclassifed Manufacturers – Microcontroller
Stellaris® LM3S101 Microcontroller
12
12.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 the Comparator Operating
Mode tables in “Functional Description” on page 380 for more information.
The comparator can provide its output to a device pin, acting as a replacement for an analog
comparator on the board, or it can be used to signal the application via interrupts to cause it to start
capturing a sample sequence.
The Stellaris® Analog Comparators module has the following features:
■ Two independent integrated analog comparators
■ Configurable for output to drive an output pin or generate an interrupt
■ Compare external pin input to external pin input or to internal programmable voltage reference
■ Compare a test voltage against any one of these voltages
– An individual external reference voltage
– A shared single external reference voltage
– A shared internal reference voltage
Block Diagram
Figure 12-1. Analog Comparator Module Block Diagram
C1-
<none>
-ve input Comparator 1
+ve input
output
+ve input (alternate)
ACCTL1
ACSTAT1
interrupt
reference input
<none>
C0-
C0+
internal
bus
-ve input Comparator 0
+ve input
output
+ve input (alternate)
ACCTL0
ACSTAT0
interrupt
reference input
Voltage
Ref
ACREFCTL
C0o
Interrupt Control
ACRIS
ACMIS
ACINTEN
interrupt
July 14, 2014
379
Texas Instruments-Production Data