English
Language : 

TM4C123FH6PM Datasheet, PDF (1274/1371 Pages) Texas Instruments – Tiva™ TM4C123FH6PM Microcontroller
Quadrature Encoder Interface (QEI)
■ QEI0: 0x4002.C000
■ QEI1: 0x4002.D000
Note that the QEI module clock must be enabled before the registers can be programmed (see
page 348). There must be a delay of 3 system clocks after the QEI module clock is enabled before
any QEI module registers are accessed.
Table 20-2. 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
RW
RO
RW
RW
RW
RO
RO
RO
RW
RO
RW1C
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
1275
1278
1279
1280
1281
1282
1283
1284
1285
1287
1289
20.6
Register Descriptions
The remainder of this section lists and describes the QEI registers, in numerical order by address
offset.
1274
Texas Instruments-Production Data
June 12, 2014