
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
502 of 808
NXP Semiconductors
UM10360
Chapter 25: LPC17xx Motor Control PWM
7.3 MCPWM Interrupt registers
The Motor Control PWM module includes the following interrupt sources:
All MCPWM interrupt registers contain one bit for each source as shown in
7.3.1 MCPWM Interrupt Enable read address (MCINTEN - 0x400B 8050)
The MCINTEN register controls which of the MCPWM interrupts are enabled. This
address is read-only, but the underlying register can be modified by writing to addresses
MCINTEN_SET and MCINTEN_CLR.
7.3.2 MCPWM Interrupt Enable set address (MCINTEN_SET - 0x400B 8054)
Writing ones to this write-only address sets the corresponding bits in MCINTEN, thus
disabling interrupts.
7.3.3 MCPWM Interrupt Enable clear address (MCINTEN_CLR - 0x400B 8058)
Writing ones to this write-only address clears the corresponding bits in MCINTEN, thus
enabling interrupts.
Table 443. Motor Control PWM interrupts
Symbol
Description
ILIM0-2
Limit interrupts for channels 0-2.
IMAT0-2
Match interrupts for channels 0-2.
ICAP0-2
Capture interrupts for channels 0-2.
ABORT
Fast abort interrupt
Table 444. Interrupt sources bit allocation table
Bit
31
30
29
28
27
26
25
24
Symbol
-
-
-
-
-
-
-
-
Bit
23
22
21
20
19
18
17
16
Symbol
-
-
-
-
-
-
-
-
Bit
15
14
13
12
11
10
9
8
Symbol
ABORT
-
-
-
-
ICAP2
IMAT2
ILIM2
Bit
7
6
5
4
3
2
1
0
Symbol
-
ICAP1
IMAT1
ILIM1
-
ICAP0
IMAT0
ILIM0
Table 445. MCPWM Interrupt Enable read address (MCINTEN - 0x400B 8050) bit description
Bit
Value
Description
Reset
value
31:0
for the bit allocation.
0
1
Interrupt enabled.
0
Interrupt disabled.
Table 446. PWM interrupt enable set register (MCINTEN_SET - address 0x400B 8054) bit
description
Bit
Description
31:0
Writing ones to this address sets the corresponding bits in MCINTEN, thus disabling
interrupts. See
for the bit allocation.