© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
259
Philips Semiconductors
UM10139
Volume 1
Chapter 16: PWM
[1]
Reset value reflects the data stored in used bits only. It does not include reserved bits content.
16.4.1 PWM Interrupt Register (PWMIR - 0xE001 4000)
The PWM Interrupt Register consists of eleven bits (
), seven for the match
interrupts and four reserved for the future use. If an interrupt is generated then the
corresponding bit in the PWMIR will be high. Otherwise, the bit will be low. Writing a logic
one to the corresponding IR bit will reset the interrupt. Writing a zero has no effect.
16.4.2 PWM Timer Control Register (PWMTCR - 0xE001 4004)
The PWM Timer Control Register (PWMTCR) is used to control the operation of the PWM
Timer Counter. The function of each of the bits is shown in
.
PWMMR6 PWM Match Register 6. PWMMR6 can be enabled through PWMMCR to
reset the PWMTC, stop both the PWMTC and PWMPC, and/or generate
an interrupt when it matches the PWMTC. In addition, a match between
PWMMR6 and the PWMTC clears PWM6 in either single-edge mode or
double-edge mode.
R/W
0
0xE001 4048
PWMPCR PWM Control Register. Enables PWM outputs and selects PWM channel
types as either single edge or double edge controlled.
R/W
0
0xE001 404C
PWMLER
PWM Latch Enable Register. Enables use of new PWM match values.
R/W
0
0xE001 4050
Table 247: Pulse Width Modulator (PWM) register map
Name
Description
Access
Reset
value
[1]
Address
Table 248: PWM Interrupt Register (PWMIR - address 0xE001 4000) bit description
Bit
Symbol
Description
Reset value
0
PWMMR0 Interrupt
Interrupt flag for PWM match channel 0.
0
1
PWMMR1 Interrupt
Interrupt flag for PWM match channel 1.
0
2
PWMMR2 Interrupt
Interrupt flag for PWM match channel 2.
0
3
PWMMR3 Interrupt
Interrupt flag for PWM match channel 3.
0
7:4
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
0000
8
PWMMR4 Interrupt
Interrupt flag for PWM match channel 4.
0
9
PWMMR5 Interrupt
Interrupt flag for PWM match channel 5.
0
10
PWMMR6 Interrupt
Interrupt flag for PWM match channel 6.
0
15:11
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA