
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
803 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
MCPWM Capture Registers . . . . . . . . . . . . . 509
MCPWM Capture read addresses (MCCAP0-2 -
0x400B 8044, 0x400B 8048, 0x400B 804C) 509
PWM operation. . . . . . . . . . . . . . . . . . . . . . . . 509
Pulse-width modulation . . . . . . . . . . . . . . . . 509
Shadow registers and simultaneous updates 512
Fast Abort (ABORT). . . . . . . . . . . . . . . . . . . 512
Capture events. . . . . . . . . . . . . . . . . . . . . . . 512
External event counting (Counter mode) . . . 512
Three-phase DC mode . . . . . . . . . . . . . . . . 513
Three phase AC mode. . . . . . . . . . . . . . . . . 514
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
Chapter 26: LPC17xx Quadrature Encoder Interface (QEI)
Basic configuration . . . . . . . . . . . . . . . . . . . . 516
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 516
Functional description . . . . . . . . . . . . . . . . . 518
Input signals . . . . . . . . . . . . . . . . . . . . . . . . . 518
Quadrature input signals . . . . . . . . . . . . . . . 518
Digital input filtering . . . . . . . . . . . . . . . . . . . 519
Position capture . . . . . . . . . . . . . . . . . . . . . . 519
Velocity capture . . . . . . . . . . . . . . . . . . . . . . 519
Velocity compare . . . . . . . . . . . . . . . . . . . . . 520
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 520
Register description . . . . . . . . . . . . . . . . . . . 521
Register summary . . . . . . . . . . . . . . . . . . . . 521
Control registers . . . . . . . . . . . . . . . . . . . . . . 521
QEI Control register (QEICON - 0x400B C000) . .
521
QEI Status register (QEISTAT - 0x400B C004) . .
522
Position, index and timer registers . . . . . . . . 522
QEI Position register (QEIPOS - 0x400B C00C) .
522
QEI Timer register (QEITIME - 0x400B C02C) . .
524
QEI Velocity register (QEIVEL - 0x400B C030) . .
524
QEI Digital Filter register (FILTER - 0x400B C03C)
525
Interrupt registers . . . . . . . . . . . . . . . . . . . . . 525
QEI Interrupt Status register (QEIINTSTAT) 525
Chapter 27: LPC17xx Real-Time Clock (RTC) and backup registers
Basic configuration . . . . . . . . . . . . . . . . . . . . 532
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 533
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 534
Register description . . . . . . . . . . . . . . . . . . . 534
RTC interrupts . . . . . . . . . . . . . . . . . . . . . . . 535
Miscellaneous register group . . . . . . . . . . . . 536
Interrupt Location Register (ILR - 0x4002 4000) .
536