![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1068](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271068.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1068 of 1441
NXP Semiconductors
UM10503
Chapter 34: LPC43xx/LPC43Sxx Quadrature Encoder Interface (QEI)
34.6.1 Control registers
34.6.1.1 QEI Control register
This register contains bits which control the operation of the position and velocity counters
of the QEI module.
34.6.1.2 QEI Status register
This register provides the status of the encoder interface.
34.6.1.3 QEI Configuration register
This register contains the configuration of the QEI module.
Table 828: QEI Control register (CON - address 0x400C 6000) bit description
Bit
Symbol
Description
Reset
value
0
RESP
Reset position counter. When set = 1, resets the position counter to
all zeros. Autoclears when the position counter is cleared.
0
1
RESPI
Reset position counter on index. When set = 1, resets the position
counter to all zeros when an index pulse occurs. Autoclears when
the position counter is cleared.
0
2
RESV
Reset velocity. When set = 1, resets the velocity counter to all zeros
and reloads the velocity timer. Autoclears when the velocity counter
is cleared.
0
3
RESI
Reset index counter. When set = 1, resets the index counter to all
zeros. Autoclears when the index counter is cleared.
0
31:4
-
reserved
0
Table 829: QEI Interrupt Status register (STAT - address 0x400C 6004) bit description
Bit
Symbol
Description
Reset
value
0
DIR
Direction bit. In combination with DIRINV bit indicates forward or
reverse direction. See
.
31:1
-
reserved
0