EasyManuals Logo

NXP Semiconductors LPC1768 User Manual

NXP Semiconductors LPC1768
841 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #552 background imageLoading...
Page #552 background image
UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 552 of 841
NXP Semiconductors
UM10360
Chapter 26: LPC176x/5x Quadrature Encoder Interface (QEI)
26.6.3 Position, index and timer registers
26.6.3.1 QEI Position register (QEIPOS - 0x400B C00C)
This register contains the current value of the encoder position. Increments or decrements
when encoder counts occur, depending on the direction of rotation.
26.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.
26.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 equal to the current value of the position register.
26.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 equal to the current value of the position register.
Table 487: QEI Position register (QEIPOS - address 0x400B C00C) bit description
Bit Symbol Description Reset
value
31:0 - Current position value. 0
Table 488: QEI Maximum Position register (QEIMAXPOS - address 0x400B C010) bit description
Bit Symbol Description Reset
value
31:0 - Current maximum position value. 0
Table 489: QEI Position Compare register 0 (CMPOS0 - address 0x400B C014) bit description
Bit Symbol Description Reset
value
31:0 - Position compare value 0. 0
Table 490: QEI Position Compare register 1 (CMPOS1 - address 0x400B C018) bit description
Bit Symbol Description Reset
value
31:0 - Position compare value 1. 0

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors LPC1768 and is the answer not in the manual?

NXP Semiconductors LPC1768 Specifications

General IconGeneral
BrandNXP Semiconductors
ModelLPC1768
CategoryMicrocontrollers
LanguageEnglish

Related product manuals