English
Language : 

LM3S817 Datasheet, PDF (447/553 Pages) List of Unclassifed Manufacturers – Microcontroller
Stellaris® LM3S817 Microcontroller
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.
13.3.1
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
ADC Trigger
yes
yes
yes
yes
Internal Reference Programming
The structure of the internal reference is shown in Figure 13-3 on page 447. This is controlled by a
single configuration register (ACREFCTL). Table 13-3 on page 447 shows the programming options
to develop specific internal reference values, to compare an external voltage against a particular
voltage generated internally.
Figure 13-3. Comparator Internal Reference Structure
AVDD
8R
R
8R
R
R
•••
EN
VREF
RNG
15 14
•••
1
0
Decoder
internal
reference
Table 13-3. Internal Reference Voltage and ACREFCTL Field Values
ACREFCTL Register
EN Bit Value RNG Bit Value
EN=0
RNG=X
Output Reference Voltage Based on VREF Field Value
0 V (GND) for any value of VREF; however, it is recommended that RNG=1 and
VREF=0 for the least noisy ground reference.
July 14, 2014
447
Texas Instruments-Production Data