LM3S101-CRN20-XNPT Luminary Micro, Inc., LM3S101-CRN20-XNPT Datasheet - Page 252

no-image

LM3S101-CRN20-XNPT

Manufacturer Part Number
LM3S101-CRN20-XNPT
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet
March 22, 2006
Figure 13-2.
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 Table 13-1 and Table 13-2.
Typically, the comparator output is used internally to generate controller interrupts. It may also be
used to drive an external pin.
Note:
Table 13-1. Comparator 0 Operating Modes
Table 13-2. Comparator 1 Operating Modes
a. C0o and C1- signals share a single pin and may only be used as one or the other.
ACCNTL0
ACCNTL1
ASRCP
ASRCP
The proper pad configuration for the comparator input and output pins are described in
Table 8-1 on page 97.
00
01
10
11
00
01
10
11
Structure of Comparator Unit
+ve input (alternate)
reference input
C0o/C1-
C0o/C1-
C0o/C1-
C0o/C1-
VIN-
VIN-
C0-
C0-
C0-
C0-
+ve input
-ve input
a
Preliminary
0
1
2
ACCTL
reserved
reserved
VIN+
VIN+
C0+
C0+
Vref
C0+
Vref
n/a
Comparator 0
Comparator 1
CINV
ACSTAT
C0o/C1-
C0o/C1-
C0o/C1-
C0o/C1-
Output
Output
IntGen
n/a
n/a
n/a
n/a
output
LM3S101 Data Sheet
Interrupt
Interrupt
yes
yes
yes
yes
yes
yes
yes
yes
252

Related parts for LM3S101-CRN20-XNPT