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.
0x0000.000ROreserved31:2
Direction of Rotation
Indicates the direction the encoder is rotating.
DescriptionValue
The encoder is rotating forward.0
The encoder is rotating in reverse.1
0RODIRECTION1
Error Detected
DescriptionValue
No error.0
An error was detected in the gray code sequence (that is, both
signals changing at the same time).
1
0ROERROR0
July 24, 2012910
Texas Instruments-Production Data
Quadrature Encoder Interface (QEI)
OBSOLETE: TI has discontinued production of this device.