LM3S2965-IQC20-A0T Luminary Micro, Inc., LM3S2965-IQC20-A0T Datasheet - Page 493

no-image

LM3S2965-IQC20-A0T

Manufacturer Part Number
LM3S2965-IQC20-A0T
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet
19.4
Table 19-1. QEI Register Map
19.5
June 04, 2007
Offset
0x00C
0x01C
0x000
0x004
0x008
0x010
0x014
0x018
0x020
0x024
0x028
Name
QEICTL
QEISTAT
QEIPOS
QEIMAXPOS
QEILOAD
QEITIME
QEICOUNT
QEISPEED
QEIINTEN
QEIRIS
QEIISC
5.
6.
7.
Register Map
“Register Map” on page 493 lists the QEI registers. The offset listed is a hexadecimal increment to
the register’s address, relative to the module’s base address:
Register Descriptions
The remainder of this section lists and describes the QEI registers, in numerical order by address
offset.
QEI0: 0x4002.C000
QEI1: 0x4002.D000
Enable the quadrature encoder by setting bit 0 of the QEICTL register.
Delay for some time.
Read the encoder position by reading the QEIPOS register value.
Write the QEIMAXPOS register with the value of 0x0000.0F9F.
R/W1C
Type
R/W
R/W
R/W
R/W
R/W
RO
RO
RO
RO
RO
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
Reset
Preliminary
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
LM3S2965 Microcontroller
page
See
494
496
497
498
499
500
501
502
503
504
505
493

Related parts for LM3S2965-IQC20-A0T