
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
503 of 808
NXP Semiconductors
UM10360
Chapter 25: LPC17xx Motor Control PWM
7.3.4 MCPWM Interrupt Flags read address (MCINTF - 0x400B 8068)
The MCINTF register includes all MCPWM interrupt flags, which are set when the
corresponding hardware event occurs, or when ones are written to the MCINTF_SET
address. When corresponding bits in this register and MCINTEN are both 1, the MCPWM
asserts its interrupt request to the Interrupt Controller module. This address is read-only,
but the bits in the underlying register can be modified by writing ones to addresses
MCINTF_SET and MCINTF_CLR.
7.3.5 MCPWM Interrupt Flags set address (MCINTF_SET - 0x400B 806C)
Writing one(s) to this write-only address sets the corresponding bit(s) in MCINTF, thus
possibly simulating hardware interrupt(s).
7.3.6 MCPWM Interrupt Flags clear address (MCINTF_CLR - 0x400B 8070)
Writing one(s) to this write-only address sets the corresponding bit(s) in MCINTF, thus
clearing the corresponding interrupt request(s). This is typically done in interrupt service
routines.
Table 447. PWM interrupt enable clear register (MCINTEN_CLR - address 0x400B 8058) 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.
Table 448. MCPWM Interrupt Flags read address (MCINTF - 0x400B 8068) bit description
Bit
Value
Description
Reset
value
31:0
for the bit allocation.
0
1
If the corresponding bit in MCINTEN is 1, the MCPWM module is
asserting its interrupt request to the Interrupt Controller.
0
This interrupt source is not contributing to the MCPWM interrupt
request.
Table 449. MCPWM Interrupt Flags set address (PWMINTF_SET - 0x400B 806C) bit
description
Bit
Description
31:0
Writing one(s) to this write-only address sets the corresponding bit(s) in the MCINTF
register, thus possibly simulating hardware interrupt(s). See
for the bit
allocation.
Table 450. MCPWM Interrupt Flags clear address (PWMINTF_CLR - 0x400B 8070) bit
description
Bit
Description
31:0
Writing one(s) to this write-only address sets the corresponding bit(s) in the MCINTF
register, thus clearing the corresponding interrupt request(s). See
for the
bit allocation.