C2+
C2-
output
+ve input (alternate)
+ve input
interrupt
-ve input
reference input
Comparator 2
ACSTAT2
ACCTL2
C1-
C1+
output
+ve input (alternate)
+ve input
interrupt
-ve input
reference input
Comparator 1
ACSTAT1
ACCTL1
output
+ve input (alternate)
+ve input
interrupt
-ve input
reference input
Comparator 0
ACSTAT0
ACCTL0
C0+
Internal
Bus
C0-
C0o
trigger
trigger
trigger
trigger
trigger
trigger
Interrupt Control
ACRIS
ACMIS
ACINTEN
Interrupt
Module
Status
ACMPPP
C1o
C2o
Voltage
Ref
ACREFCTL
Block Diagram
830
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Analog Comparators
12.2 Block Diagram
Figure 12-1. Analog Comparator Module Block Diagram
NOTE:
This block diagram depicts the maximum number of analog comparators and comparator
outputs for the family of microcontrollers; the number for this specific device may vary. See
for what is included on this device.
12.3 Functional Description
The comparator compares the VIN– and VIN+ inputs to produce an output, VOUT.
VIN– < VIN+, VOUT = 1 VIN– > VIN+, VOUT = 0
As shown in
, the input source for VIN– is an external input, Cn–, where n is the analog
comparator number. In addition to an external input, Cn+, input sources for VIN+ can be the C0+ or an
internal reference, V
IREF
.