English
Language : 

LM3S6611 Datasheet, PDF (551/647 Pages) List of Unclassifed Manufacturers – Microcontroller
Stellaris® LM3S6611 Microcontroller
15.2
Signal Description
Table 15-1 on page 551 and Table 15-2 on page 551 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 299) 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 277.
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
24
O
TTL
Analog comparator 0 output.
C1+
24
I
Analog Analog comparator 1 positive input.
C1-
91
I
Analog Analog comparator 1 negative input.
C1o
2
O
TTL
Analog comparator 1 output.
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.
C0-
A6
I
Analog Analog comparator 0 negative input.
C0o
M1
O
TTL
Analog comparator 0 output.
C1+
M1
I
Analog Analog comparator 1 positive input.
C1-
B7
I
Analog Analog comparator 1 negative input.
C1o
C2
O
TTL
Analog comparator 1 output.
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
15.3 Functional Description
Important: It is recommended that the Digital-Input enable (the GPIODEN bit in the GPIO module)
for the analog input pin be disabled to prevent excessive current draw from the I/O
pads.
The comparator compares the VIN- and VIN+ inputs to produce an output, VOUT.
VIN- < VIN+, VOUT = 1
VIN- > VIN+, VOUT = 0
As shown in Figure 15-2 on page 552, the input source for VIN- is an external input. In addition to
an external input, input sources for VIN+ can be the +ve input of comparator 0 or an internal reference.
July 16, 2014
551
Texas Instruments-Production Data