MMC2001
PULSE WIDTH MODULATOR
MOTOROLA
REFERENCE MANUAL
15-7
15.2.3 PWM Width Register
The PWM width register (PWMWR) defines the width of the pulse in PCLKs. When
the counter matches the value in this register, the output is reset for the duration of
the period. Note that if the value in this register is not less than the period register, the
output will never be reset, resulting in a 100% duty cycle.
Figure 15-6 PWM Width Registers
WIDTH — Pulse Width
When the counter reaches the value in this register, the output is reset.
15.2.4 PWM Counter Register
The read-only PWM counter register (PWMCTR) holds the current count value. It can
be read at any time without disturbing the counter.
Figure 15-7 PWM Count Registers
COUNT — Count Value
This is the current count value.
PWMWR0 — PWM0 Width Register
10005004
PWMWR1 — PWM1 Width Register
1000500C
PWMWR2 — PWM2 Width Register
10005014
PWMWR3 — PWM3 Width Register
1000501C
PWMWR4 — PWM4 Width Register
10005024
PWMWR5 — PWM5 Width Register
1000502C
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
WIDTH
W
RESET:
0
0
0
0
0
0
0
0
0
0
PWMCTR0 — PWM0 Counter Register
10005006
PWMCTR1 — PWM1 Counter Register
1000500E
PWMCTR2 — PWM2 Counter Register
10005016
PWMCTR3 — PWM3 Counter Register
1000501E
PWMCTR4 — PWM4 Counter Register
10005026
PWMCTR5 — PWM5 Counter Register
1000502E
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
COUNT
W
RESET:
0
0
0
0
0
0
0
0
0
0
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..