![NXP Semiconductors LPC29 Series Скачать руководство пользователя страница 441](http://html1.mh-extra.com/html/nxp-semiconductors/lpc29-series/lpc29-series_user-manual_1721826441.webp)
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
441 of 571
NXP Semiconductors
UM10316
Chapter 25: LPC29xx Pulse Width Modulator (PWM)
5.11 PWM match active registers
There are six MTCHACT registers per PWM; one for each PWM output. Each MTCHACT
register can be programmed to contain the first value which is compared with the PWM
counter to generate the corresponding PWM output and interrupt. By making use of the
shadow register concept, updating the MTCHACT register while the PWM counter is
running is possible without affecting the current PWM outputs, see
Reading this register returns the last written value, but not the value actually used by the
PWM counter comparator.
shows the bit assignment of the MTCHACT(0) to MTCHACT(5) registers.
5.12 PWM match deactive registers
There are six MTCHDEACT registers per PWM, one for each PWM output. Each
MTCHACT register can be programmed to contain the second value which is compared to
the PWM counter to generate the corresponding PWM output and interrupt. The use of
this register is similar to the MTCHACT register, see
.
shows the bit assignment of the MTCHDEACT(0) to MTCHDEACT(5)
registers.
Table 355. CNT 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
CNT
R
PWM counter value
0000h*
Table 356. MTCHACT(n) 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
MTCHACT
R/W
The first (activation) match value which is
compared with the PWM counter to generate
the PWM(m) output and an interrupt
0000h*
Table 357. MTDECHACT(n) 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
MTDECHACT
R/W
The second (deactivation) match value which is
compared with the PWM counter to generate
the PWM(m) output and an interrupt
0000h*