
MMC2001
PROGRAMMING REFERENCE
MOTOROLA
REFERENCE MANUAL
C-23
C.6.1 PWM Control Register
The PWM control register (PWMCR) controls the overall operation of the PWM chan-
nel. The status of the channel pin is also accessible.
Figure C-24 PWM Control Registers
DOZE — Doze Mode
When the CPU executes a doze instruction and the system is placed in doze mode,
the DOZE bit affects operation of the PWM channel. If this bit is set, the PWM chan-
nel is disabled in doze mode. PWM channel operation is suspended at the end of the
current period. If IRQ_EN is set, an interrupt request is still generated following the
period compare that causes suspension. This interrupt may selectively cause the
CPU to exit doze mode.
0 =
PWM channel is unaffected in doze mode
1 =
PWM channel is disabled in doze mode
At reset, this bit is cleared to zero.
10005024
PWM4 Width Register (PWMWR4)
Supervisor Only
10005026
PWM4 Counter Register (PWMCTR4)
Supervisor Only
10005028
PWM5 Control Register (PWMCR5)
Supervisor Only
1000502A
PWM5 Period Register (PWMPR5)
Supervisor Only
1000502C
PWM5 Width Register (PWMWR5)
Supervisor Only
1000502E
PWM5 Counter Register (PWMCTR5)
Supervisor Only
10005030
to
10005FFF
Reserved
Supervisor Only
10006000
to
10006FFF
Not Used (Access causes transfer error)
Not Applicable
PWMCR0 — PWM0 Control Register
10005000
PWMCR1 — PWM1 Control Register
10005008
PWMCR2 — PWM2 Control Register
10005010
PWMCR3 — PWM3 Control Register
10005018
PWMCR4 — PWM4 Control Register
10005020
PWMCR5 — PWM5 Control Register
10005028
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
DOZE
PWM
IRQ
IRQ
EN
LOAD
DATA
DIR
POL
MODE
COUNT
EN
CLKSEL
W
RESET:
0
0
0
0
0
0
0
0
0
0
0
Table C-10 PWM Address Map (Continued)
Address
Use
Access
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..