
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
523 of 808
NXP Semiconductors
UM10360
Chapter 26: LPC17xx Quadrature Encoder Interface (QEI)
6.3.2 QEI Maximum Position register (QEIMAXPOS - 0x400B C010)
This register contains the maximum value of the encoder position. In forward rotation the
position register resets to zero when the position register exceeds this value. In reverse
rotation the position register resets to this value when the position register decrements
from zero.
6.3.3 QEI Position Compare register 0 (CMPOS0 - 0x400B C014)
This register contains a position compare value. This value is compared against the
current value of the position register. Interrupts can be enabled to interrupt when the
compare value is less than, equal to, or greater than the current value of the position
register.
6.3.4 QEI Position Compare register 1 (CMPOS1 - 0x400B C018)
This register contains a position compare value. This value is compared against the
current value of the position register. Interrupts can be enabled to interrupt when the
compare value is less than, equal to, or greater than the current value of the position
register.
6.3.5 QEI Position Compare register 2 (CMPOS2 - 0x400B C01C)
This register contains a position compare value. This value is compared against the
current value of the position register. Interrupts can be enabled to interrupt when the
compare value is less than, equal to, or greater than the current value of the position
register.
Table 469: QEI Position register (QEIPOS - address 0x400B C00C) bit description
Bit
Symbol
Description
Reset
value
0:31
-
Current position value.
0
Table 470: QEI Maximum Position register (QEIMAXPOS - address 0x400B C010) bit
description
Bit
Symbol
Description
Reset
value
0:31
-
Current maximum position value.
0
Table 471: QEI Position Compare register 0 (CMPOS0 - address 0x400B C014) bit description
Bit
Symbol
Description
Reset
value
0:31
-
Current position value.
0
Table 472: QEI Position Compare register 1 (CMPOS1 - address 0x400B C018) bit description
Bit
Symbol
Description
Reset
value
0:31
-
Current position value.
0
Table 473: QEI Position Compare register 2 (CMPOS2 - address 0x400B C01C) bit
description
Bit
Symbol
Description
Reset
value
0:31
-
Current position value.
0