English
Language : 

LM3S5D91 Datasheet, PDF (1056/1340 Pages) Texas Instruments – Stellaris® LM3S5D91 Microcontroller
Analog Comparators
19 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 1057 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 or
trigger the start of a sample sequence in the ADC. The interrupt generation and ADC triggering logic
is separate and independent. This flexibility means, for example, that an interrupt can be generated
on a rising edge and the ADC triggered on a falling edge.
The Stellaris® LM3S5D91 microcontroller provides three 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
1056
Texas Instruments-Production Data
January 22, 2012