English
Language : 

LM3S300 Datasheet, PDF (440/503 Pages) List of Unclassifed Manufacturers – Microcontroller
Analog Comparators
Important: The ASRCP bits in the ACCTLn register must be set before using the analog
comparators. The proper pad configuration for the comparator input and output pins
are described in the Comparator Operating Mode tables.
Table 13-2. Comparator 0 Operating Modes
ACCTL0
ASRCP
00
01
10
11
Comparator 0
VIN-
C0-
C0-
C0-
C0-
VIN+
C0+
C0+
Vref
reserved
Output
C0o
C0o
C0o
C0o
Interrupt
yes
yes
yes
yes
13.3.1
Table 13-3. Comparator 1 Operating Modes
ACCTL1
Comparator 1
ASRCP
00
VIN-
C1-
VIN+
C1+/C1oa
Output
C1o/C1+
01
C1-
C0+
C1o/C1+
10
C1-
Vref
C1o/C1+
11
C1-
reserved
C1o/C1+
a. C1o and C1+ signals share a single pin and may only be used as one or the other.
Interrupt
yes
yes
yes
yes
Table 13-4. Comparator 2 Operating Modes
ACCTL2
Comparator 2
ASRCP
00
VIN-
C2-
VIN+
C2+/C2oa
Output
C2o/C2+
01
C2-
C0+
C2o/C2+
10
C2-
Vref
C2o/C2+
11
C2-
reserved
C2o/C2+
a. C2o and C2+ signals share a single pin and may only be used as one or the other.
Interrupt
yes
yes
yes
yes
Internal Reference Programming
The structure of the internal reference is shown in Figure 13-3 on page 441. This is controlled by a
single configuration register (ACREFCTL). Table 13-5 on page 441 shows the programming options
to develop specific internal reference values, to compare an external voltage against a particular
voltage generated internally.
440
July 14, 2014
Texas Instruments-Production Data