Download UM10316

Transcript
D
D
R
R
R
R
R
D
D
D
D
R
R
FT
FT
FT
FT
D
R
R
A
FT
FT
FT
A
A
R
R
D
D
D
R
A
F
FT
FT
A
A
R
R
D
D
D
D
Description
R
Reserved; do not modify. Read as logic 0
15 to 0
R
PWM counter value
FT
FT
A
A
R
Access Value
31 to 16 reserved
R
D
Symbol
A
A
A
A
R
R
D
D
D
Bit
FT
FT
FT
FT
FT
UM10316
Chapter 24: LPC29xx Pulse Width Modulator (PWM)
Table 328. CNT register bit description
* = reset value
A
A
A
A
A
NXP Semiconductors
D
D
R
A
CNT
FT
D
0000h*
R
A
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 Section 24–5.1.
Reading this register returns the last written value, but not the value actually used by the
PWM counter comparator.
Table 24–329 shows the bit assignment of the MTCHACT(0) to MTCHACT(5) registers.
Table 329. MTCHACT(n) register bit description
* = reset value
Access Value
Description
31 to 16 reserved
Bit
Symbol
R
Reserved; do not modify. Read as logic 0
15 to 0
R/W
MTCHACT
-
The first (activation) match value which is
compared with the PWM counter to generate
the PWM(m) output and an interrupt
0000h*
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 Section 24–5.11.
Table 24–330 shows the bit assignment of the MTCHDEACT(0) to MTCHDEACT(5)
registers.
Table 330. 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
R/W
MTDECHACT
-
The second (deactivation) match value which is
compared with the PWM counter to generate
the PWM(m) output and an interrupt
0000h*
UM10316_0
User manual
© NXP B.V. 2008. All rights reserved.
Rev. 00.05 — 1 October 2008
392 of 527