English
Language : 

LM3S5956-IQR80-C1 Datasheet, PDF (1026/1144 Pages) Texas Instruments – Stellaris® LM3S5956 Microcontroller
NRND: Not recommended for new designs.
Quadrature Encoder Interface (QEI)
Bit/Field
11
10
9
8:6
5
4
Name
INVI
INVB
INVA
VELDIV
VELEN
RESMODE
Type
R/W
Reset
0
Description
Invert Index Pulse
Value Description
0 No effect.
1 Inverts the IDX input.
R/W
0
Invert PhB
Value Description
0 No effect.
1 Inverts the PhB input.
R/W
0
Invert PhA
Value Description
0 No effect.
1 Inverts the PhA input.
R/W
0x0
Predivide Velocity
This field defines the predivider of the input quadrature pulses before
being applied to the QEICOUNT accumulator.
Value Predivider
0x0 ÷1
0x1 ÷2
0x2 ÷4
0x3 ÷8
0x4 ÷16
0x5 ÷32
0x6 ÷64
0x7 ÷128
R/W
0
Capture Velocity
Value Description
0 No effect.
1 Enables capture of the velocity of the quadrature encoder.
R/W
0
Reset Mode
Value Description
0 The position counter is reset when it reaches the maximum as
defined by the MAXPOS field in the QEIMAXPOS register.
1 The position counter is reset when the index pulse is captured.
1026
Texas Instruments-Production Data
October 06, 2012