English
Language : 

LM3S8962 Datasheet, PDF (547/620 Pages) List of Unclassifed Manufacturers – Microcontroller
LM3S8962 Microcontroller
■ Write the QEIMAXPOS register with the value of 0x0000.0F9F.
5. Enable the quadrature encoder by setting bit 0 of the QEICTL register.
6. Delay for some time.
7. Read the encoder position by reading the QEIPOS register value.
20.4
Register Map
Table 20-1 on page 547 lists the QEI registers. The offset listed is a hexadecimal increment to the
register’s address, relative to the module’s base address:
■ QEI0: 0x4002.C000
■ QEI1: 0x4002.D000
Table 20-1. QEI Register Map
Offset Name
Type
0x000 QEICTL
0x004 QEISTAT
0x008 QEIPOS
0x00C QEIMAXPOS
0x010 QEILOAD
0x014 QEITIME
0x018 QEICOUNT
0x01C QEISPEED
0x020 QEIINTEN
0x024 QEIRIS
0x028 QEIISC
R/W
RO
R/W
R/W
R/W
RO
RO
RO
R/W
RO
R/W1C
Reset
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
Description
QEI Control
QEI Status
QEI Position
QEI Maximum Position
QEI Timer Load
QEI Timer
QEI Velocity Counter
QEI Velocity
QEI Interrupt Enable
QEI Raw Interrupt Status
QEI Interrupt Status and Clear
See
page
548
550
551
552
553
554
555
556
557
558
559
20.5
Register Descriptions
The remainder of this section lists and describes the QEI registers, in numerical order by address
offset.
September 02, 2007
547
Preliminary