English
Language : 

LM3S5G31 Datasheet, PDF (1060/1223 Pages) Texas Instruments – Stellaris LM3S5G31 Microcontroller
Quadrature Encoder Interface (QEI)
Bit/Field
3
2
1
0
Name
CAPMODE
SIGMODE
SWAP
ENABLE
Type
R/W
Reset
0
Description
Capture Mode
Value Description
0 Only the PhA edges are counted.
1 The PhA and PhB edges are counted, providing twice the
positional resolution but half the range.
R/W
0
Signal Mode
Value Description
0 The PhA and PhB signals operate as quadrature phase signals.
1 The PhA and PhB signals operate as clock and direction.
R/W
0
Swap Signals
Value Description
0 No effect.
1 Swaps the PhA and PhB signals.
R/W
0
Enable QEI
Value Description
0 No effect.
1 Enables the quadrature encoder module.
1060
Texas Instruments-Production Data
July 03, 2014