English
Language : 

LM3S5C31 Datasheet, PDF (966/1220 Pages) Texas Instruments – Stellaris® LM3S5C31 Microcontroller
Analog Comparators
19.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 442) 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 460) 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 418.
Table 19-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.
58
PF4 (2)
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)
46
PF5 (2)
84
PH2 (2)
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
Table 19-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.
L9
PF4 (2)
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)
L8
PF5 (2)
D11
PH2 (2)
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
966
January 23, 2012
Texas Instruments-Production Data