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
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
442 of 571
NXP Semiconductors
UM10316
Chapter 25: LPC29xx Pulse Width Modulator (PWM)
5.13 PWM capture registers
There are four CAPT registers per PWM, one for each external PWM capture channel.
See
for selecting the source for each capture register and the limitations
of capture channel 3. The CAPT register contains the captured value triggered by the
corresponding channel.
shows the bit assignment of the CAPT0 to CAPT3 registers.
5.14 PWM mode control shadow register
The MODECTLS register is the shadow register of the MODECTL register. It mirrors the
values used in the PWM domain. See
for more information on the
principle of shadow registers.
shows the bit assignment of the MODECTLS register.
5.15 PWM trap control shadow register
The TRPCTLS register is the shadow register of the TRPCTL register. It mirrors the
values used in the PWM domain. See
for more information on the
principle of shadow registers.
Table 358. CAPTn register bit description
* = reset value
Bit
Symbol
Access
Value
Description
31 to 16 reserved
R
Reserved; do not modify. Read as logic 0
15 to 0
CAPT
R
The PWM counter value captured at the event
programmed on the capture channel pin
0000h*
Table 359. MODECTLS register bit description
* = reset value
Bit
Symbol
Access
Value
Description
30 to 5
reserved
R
-
Reserved; do not modify. Read as
logic 0
4
TRANS_ENA_SEL_SYNC
R
Mirrors the synchronized
TRANS_ENA_SEL bit field
0*
3
SYNC_SEL_SYNC
R
Mirrors the synchronized SYNC_SEL
bit field
0*
2
RUN_ONCE_SYNC
R
Mirrors the synchronized
RUN_ONCE bit field
0*
1
CNT_RESET_SYNC
R
Mirrors the synchronized
CNT_RESET bit field
0*
0
CNT_ENA_SYNC
R
Mirrors the synchronized CNT_ENA
bit field
0*