English
Language : 

LM3S2412 Datasheet, PDF (564/691 Pages) Texas Instruments – Stellaris® LM3S2412 Microcontroller
Analog Comparators
15.1
Block Diagram
Figure 15-1. Analog Comparator Module Block Diagram
C1-
-ve input Comparator 1
C1+
+ve input
output
<none>
+ve input (alternate)
ACCTL1
trigger
trigger
ACSTAT1
interrupt
reference input
C0-
-ve input Comparator 0
C0+
+ve input
output
C0o
+ve input (alternate)
ACCTL0
trigger
ACSTAT0
interrupt
reference input
trigger
internal
bus
Voltage
Ref
ACREFCTL
Interrupt Control
ACRIS
ACMIS
ACINTEN
interrupt
15.2
Signal Description
Table 15-1 on page 564 and Table 15-2 on page 564 list the external signals of the Analog Comparators
and describe the function of each. The Analog Comparator output signals are alternate functions
for some GPIO signals and default to be GPIO signals at reset. The column in the table below titled
"Pin Assignment" lists the possible GPIO pin placements for the Analog Comparator signals. The
AFSEL bit in the GPIO Alternate Function Select (GPIOAFSEL) register (page 280) should be set
to choose the Analog Comparator function. The positive and negative input signals are configured
by clearing the DEN bit in the GPIO Digital Enable (GPIODEN) register. For more information on
configuring GPIOs, see “General-Purpose Input/Outputs (GPIOs)” on page 257.
Table 15-1. Analog Comparators Signals (100LQFP)
Pin Name
Pin Number Pin Type Buffer Typea Description
C0+
90
I
Analog Analog comparator 0 positive input.
C0-
92
I
Analog Analog comparator 0 negative input.
C0o
100
O
TTL
Analog comparator 0 output.
C1+
24
I
Analog Analog comparator 1 positive input.
C1-
91
I
Analog Analog comparator 1 negative input.
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
Table 15-2. Analog Comparators Signals (108BGA)
Pin Name
Pin Number Pin Type Buffer Typea Description
C0+
A7
I
Analog Analog comparator 0 positive input.
564
June 18, 2012
Texas Instruments-Production Data