LM3S6918 Luminary Micro, Inc, LM3S6918 Datasheet - Page 460
LM3S6918
Manufacturer Part Number
LM3S6918
Description
Lm3s6918 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S6918.pdf
(539 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S6918-EQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S6918-EQC50-A2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Company:
Part Number:
LM3S6918-EQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S6918-IBZ50-A2
Manufacturer:
TI
Quantity:
218
Company:
Part Number:
LM3S6918-IBZ50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S6918-IBZ50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S6918-IQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S6918-IQC50-A2
Manufacturer:
TI/德州仪器
Quantity:
20 000
- Current page: 460 of 539
- Download datasheet (6Mb)
Analog Comparators
17.3
17.4
460
Initialization and Configuration
The following example shows how to configure an analog comparator to read back its output value
from an internal register.
1.
2.
3.
4.
5.
6.
Change the level of the signal input on C0- to see the OVAL value change.
Register Map
Table 17-4 on page 461 lists the comparator registers. The offset listed is a hexadecimal increment
to the register’s address, relative to the Analog Comparator base address of 0x4003.C000.
ACREFCTL Register
EN Bit Value
EN=1
Enable the analog comparator 0 clock by writing a value of 0x0010.0000 to the RCGC1 register
in the System Control module.
In the GPIO module, enable the GPIO port/pin associated with C0- as a GPIO input.
Configure the internal voltage reference to 1.65 V by writing the ACREFCTL register with the
value 0x0000.030C.
Configure comparator 0 to use the internal voltage reference and to not invert the output on the
C0o pin by writing the ACCTL0 register with the value of 0x0000.040C.
Delay for some time.
Read the comparator output value by reading the ACSTAT0 register’s OVAL value.
RNG Bit Value
RNG=0
RNG=1
Output Reference Voltage Based on VREF Field Value
Total resistance in ladder is 31 R.
The range of internal reference in this mode is 0.85-2.448 V.
Total resistance in ladder is 23 R.
The range of internal reference for this mode is 0-2.152 V.
Preliminary
July 26, 2008
Related parts for LM3S6918
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Inductor: Molded: 10u: 10%: 30M: 7.9: 440m: Axial: T/R
Manufacturer:
Inductor Supply, Inc.
Part Number:
Description:
Molded Inductor
Manufacturer:
Inductor Supply, Inc.
Datasheet:
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
Part Number:
Description:
Specification For Cotco Led Lamp
Manufacturer:
Marktech Optoelectronics
Datasheet:
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: