
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
515 of 808
NXP Semiconductors
UM10360
Chapter 25: LPC17xx Motor Control PWM
8.8 Interrupts
The MCPWM includes 10 possible interrupt sources:
•
When any channel’s TC matches its Match register.
•
When any channel’s TC matches its Limit register.
•
When any channel captures the value of its TC into its Capture register, because a
selected edge occurs on any of MCI0-2.
•
When all three channels’ outputs are forced to “A passive” state because the
MCABORT pin goes low.
Section 25–7.3 “MCPWM Interrupt registers”
explains how to enable these interrupts, and
Section 25–7.2 “MCPWM Capture Control register”
describes how to map edges on the
MCI0-2 inputs to “capture events” on the three channels.
Fig 125. Three-phase AC mode sample waveforms, edge aligned PWM mode
POLA0 = 0
POLA2 = 0
POLA1 = 0
MCOA2
MCOB1
MCOA1
MCOB0
MCOA0
MCOB2
MAT0
MAT1
MAT1
MAT2
MAT2
LIM0
LIM0
0
timer reset
timer reset