English
Language : 

LM3S8G62 Datasheet, PDF (867/1096 Pages) Texas Instruments – Stellaris® LM3S8G62 Microcontroller
OBSOLETE: TI has discontinued production of this device.
Stellaris® LM3S8G62 Microcontroller
18.2
Signal Description
The following table lists the external signals of the Analog Comparators and describes 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 Mux/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 431) should be set to choose the
Analog Comparator function. The number in parentheses is the encoding that must be programmed
into the PMCn field in the GPIO Port Control (GPIOPCTL) register (page 448) to assign the Analog
Comparator signal to the specified GPIO port pin. 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 409.
Table 18-1. Analog Comparators Signals (100LQFP)
Pin Name
Pin Number Pin Mux / Pin Pin Type Buffer Typea Description
Assignment
C0+
90
PB6
I
Analog Analog comparator 0 positive input.
C0-
92
PB4
I
Analog Analog comparator 0 negative input.
C0o
24
PC5 (3)
O
TTL
Analog comparator 0 output.
90
PB6 (3)
91
PB5 (1)
100
PD7 (2)
C1+
24
PC5
I
Analog Analog comparator 1 positive input.
C1-
91
PB5
I
Analog Analog comparator 1 negative input.
C1o
2
PE6 (2)
O
TTL
Analog comparator 1 output.
22
PC7 (7)
24
PC5 (2)
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
Table 18-2. Analog Comparators Signals (108BGA)
Pin Name
Pin Number Pin Mux / Pin Pin Type Buffer Typea Description
Assignment
C0+
A7
PB6
I
Analog Analog comparator 0 positive input.
C0-
A6
PB4
I
Analog Analog comparator 0 negative input.
C0o
M1
PC5 (3)
O
TTL
Analog comparator 0 output.
A7
PB6 (3)
B7
PB5 (1)
A2
PD7 (2)
C1+
M1
PC5
I
Analog Analog comparator 1 positive input.
C1-
B7
PB5
I
Analog Analog comparator 1 negative input.
C1o
A1
PE6 (2)
O
TTL
Analog comparator 1 output.
L2
PC7 (7)
M1
PC5 (2)
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
18.3
Functional Description
The comparator compares the VIN- and VIN+ inputs to produce an output, VOUT.
VIN- < VIN+, VOUT = 1
VIN- > VIN+, VOUT = 0
July 24, 2012
867
Texas Instruments-Production Data