Introduction
829
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Analog Comparators
12.1 Introduction
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 device-specific data
sheet 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 through interrupts or trigger the start of
a sample sequence in the ADC. The interrupt generation and ADC triggering logic are 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.
Three independent integrated analog comparators support 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