English
Language : 

LM3S8962 Datasheet, PDF (499/620 Pages) List of Unclassifed Manufacturers – Microcontroller
LM3S8962 Microcontroller
3. Configure the internal voltage reference to 1.65 V by writing the ACREFCTL register with the
value 0x0000.030C.
4. 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.
5. Delay for some time.
6. Read the comparator output value by reading the ACSTAT0 register’s OVAL value.
Change the level of the signal input on C0- to see the OVAL value change.
18.4
Register Map
Table 18-3 on page 499 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.
Table 18-3. Analog Comparators Register Map
Offset Name
Type
Reset
Description
0x00
0x04
0x08
0x10
0x20
0x24
ACMIS
ACRIS
ACINTEN
ACREFCTL
ACSTAT0
ACCTL0
R/W1C
RO
R/W
R/W
RO
R/W
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
Analog Comparator Masked Interrupt Status
Analog Comparator Raw Interrupt Status
Analog Comparator Interrupt Enable
Analog Comparator Reference Voltage Control
Analog Comparator Status 0
Analog Comparator Control 0
See
page
500
501
502
503
504
505
18.5
Register Descriptions
The remainder of this section lists and describes the Analog Comparator registers, in numerical
order by address offset.
September 02, 2007
499
Preliminary