Datasheet

Register 2: QEI Status (QEISTAT), offset 0x004
This register provides status about the operation of the QEI module.
QEI Status (QEISTAT)
QEI0 base: 0x4002.C000
QEI1 base: 0x4002.D000
Offset 0x004
Type RO, reset 0x0000.0000
16171819202122232425262728293031
reserved
ROROROROROROROROROROROROROROROROType
0000000000000000Reset
0123456789101112131415
Error
Direction
reserved
ROROROROROROROROROROROROROROROROType
0000000000000000Reset
DescriptionResetTypeNameBit/Field
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
0x00ROreserved31:2
Direction of Rotation
Indicates the direction the encoder is rotating.
The Direction values are defined as follows:
DescriptionValue
Forward rotation0
Reverse rotation1
0RODirection1
Error Detected
Indicates that an error was detected in the gray code sequence (that is,
both signals changing at the same time).
0ROError0
June 18, 2012706
Texas Instruments-Production Data
Quadrature Encoder Interface (QEI)
NRND: Not recommended for new designs.