
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
500 of 808
NXP Semiconductors
UM10360
Chapter 25: LPC17xx Motor Control PWM
7.1.2 MCPWM Control set address (MCCON_SET - 0x400B 8004)
Writing ones to this write-only address sets the corresponding bits in MCCON.
7.1.3 MCPWM Control clear address (MCCON_CLR - 0x400B 8008)
Writing ones to this write-only address clears the corresponding bits in MCCON.
7.2 MCPWM Capture Control register
7.2.1 MCPWM Capture Control read address (MCCAPCON - 0x400B 800C)
The MCCAPCON register controls detection of events on the MCI0-2 inputs for all
MCPWM channels. Any of the three MCI inputs can be used to trigger a capture event on
any or all of the three channels. This address is read-only, but the underlying register can
be modified by writing to addresses MCCAPCON_SET and MCCAPCON_CLR.
Table 438. MCPWM Control set address (MCCON_SET - 0x400B 8004) bit description
Bit
Description
31:0
Writing ones to this address sets the corresponding bits in the MCCON
register. See
for the bit allocation.
Table 439. MCPWM Control clear address (MCCON_CLR - 0x400B 8008) bit description
Bit
Description
31:0
Writing ones to this address clears the corresponding bits in the MCCON
register. See
for the bit allocation.
Table 440. MCPWM Capture Control read address (MCCAPCON - 0x400B 800C) bit
description
Bit
Symbol
Description
Reset
Value
0
CAP0MCI0_RE
A 1 in this bit enables a channel 0 capture event on a rising
edge on MCI0.
0
1
CAP0MCI0_FE
A 1 in this bit enables a channel 0 capture event on a falling
edge on MCI0.
0
2
CAP0MCI1_RE
A 1 in this bit enables a channel 0 capture event on a rising
edge on MCI1.
0
3
CAP0MCI1_FE
A 1 in this bit enables a channel 0 capture event on a falling
edge on MCI1.
0
4
CAP0MCI2_RE
A 1 in this bit enables a channel 0 capture event on a rising
edge on MCI2.
0
5
CAP0MCI2_FE
A 1 in this bit enables a channel 0 capture event on a falling
edge on MCI2.
0
6
CAP1MCI0_RE
A 1 in this bit enables a channel 1 capture event on a rising
edge on MCI0.
0
7
CAP1MCI0_FE
A 1 in this bit enables a channel 1 capture event on a falling
edge on MCI0.
0
8
CAP1MCI1_RE
A 1 in this bit enables a channel 1 capture event on a rising
edge on MCI1.
0
9
CAP1MCI1_FE
A 1 in this bit enables a channel 1 capture event on a falling
edge on MCI1.
0