UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
873 of 1269
NXP Semiconductors
UM10503
Chapter 30: LPC43xx Motor Control PWM (MOTOCONPWM)
30.7.3 MCPWM Timer/Counter 0-2 registers
These registers hold the current values of the 32-bit counter/timers for channels 0-2. Each
value is incremented on every PCLK, or by edges on the MCI0-2 pins, as selected by
CNTCON. The timer/counter counts up from 0 until it reaches the value in its
corresponding PER register (or is stopped by writing to CON_CLR).
A TC register can be read at any time. In order to write to the TC register, its channel must
be stopped. If not, the write will not take place, no exception is generated.
30.7.4 MCPWM Limit 0-2 registers
These registers hold the limiting values for timer/counters 0-2. When a timer/counter
reaches its corresponding limiting value: 1) in edge-aligned mode, it is reset and starts
over at 0; 2) in center-aligned mode, it begins counting down until it reaches 0, at which
time it begins counting up again.
10
CAP1MCI2_RE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
11
CAP1MCI2_FE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
12
CAP2MCI0_RE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
13
CAP2MCI0_FE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
14
CAP2MCI1_RE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
15
CAP2MCI1_FE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
16
CAP2MCI2_RE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
17
CAP2MCI2_FE_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
18
RT0_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
19
RT1_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
20
RT2_CLR
Writing a one clears the corresponding bits in the
CAPCON register.
-
31:21 -
Reserved.
-
Table 704. MCPWM Capture control clear register (CAPCON_CLR - address 0x400A 0014) bit
description
Bit
Symbol
Description
Reset
value
Table 705. MCPWM Timer/Counter 0 to 2 registers (TC - 0x400A 0018 (TC0), 0x400A 001C
(TC1), 0x400A 0020) (TC2)bit description
Bit
Symbol
Description
Reset
value
31:0
MCTC
Timer/Counter value.
0