English
Language : 

LM3S601 Datasheet, PDF (339/446 Pages) List of Unclassifed Manufacturers – Microcontroller
LM3S601 Microcontroller
Figure 14-2. Structure of Comparator Unit
-ve input
+ve input 0
+ve input (alternate) 1
CINV
reference input 2
ACCTL
output
IntGen
ACSTAT
A comparator is configured through two status/control registers (ACCTL and ACSTAT ). The internal
reference is configured through one control register (ACREFCTL). Interrupt status and control is
configured through three registers (ACMIS, ACRIS, and ACINTEN). The operating modes of the
comparators are shown in the Comparator Operating Mode tables.
Typically, the comparator output is used internally to generate controller interrupts. It may also be
used to drive an external pin.
Important: Certain register bit values 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 14-1. Comparator 0 Operating Modes
ACCNTL0 Comparator 0
ASRCP VIN- VIN+ Output Interrupt
00
C0- C0+ C0o/C1+ yes
01
C0- C0+ C0o/C1+ yes
10
C0- Vref C0o/C1+ yes
11
C0- reserved C0o/C1+ yes
Table 14-2. Comparator 1 Operating Modes
ACCNTL1 Comparator 1
ASRCP
00
VIN- VIN+
Output Interrupt
C1- C0o/C1+a n/a
yes
01
C1- C0+
n/a
yes
10
C1- Vref
n/a
yes
11
C1- reserved n/a
yes
a. C0o and C1+ signals share a single pin and may only be used as one or the other.
October 01, 2007
339
Preliminary