![Freescale Semiconductor ColdFire MCF5211 Reference Manual Download Page 419](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619419.webp)
Pulse-Width Modulation (PWM) Module
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
Freescale Semiconductor
24-3
24.2.1
PWM Enable Register (PWME)
Each PWM channel has an enable bit (PWME
n
) to start its waveform output. While in run mode, if all four
PWM output channels are disabled (PWME[7:0] = 0), the prescaler counter shuts off for power savings.
See
Section 24.3.2.1, “PWM Enable”
for more information.
24.2.2
PWM Polarity Register (PWMPOL)
The starting polarity of each PWM channel waveform is determined by the associated PWMPOL[PPOL
n
]
bit. If the polarity is changed while a PWM signal is being generated, a truncated or stretched pulse can
occur during the transition.
IPSBAR
Offset:
0x1B_0000 (PWME)
Access: User Read/Write
7
6
5
4
3
2
1
0
R
PWME7
0
PWME5
0
PWME3
0
PWME1
0
W
Reset:
0
0
0
0
0
0
0
0
Figure 24-2. PWM Enable Register (PWME)
Table 24-2. PWME Field Descriptions
Field
Description
7
PWME5
PWM channel 7 output enable. If enabled, the PWM signal becomes available at PWMOUT7 when its corresponding
clock source begins its next cycle.
0 PWM output disabled
1 PWM output enabled
6
Reserved, should be cleared.
5
PWME5
PWM channel 5 output enable. If enabled, the PWM signal becomes available at PWMOUT5 when its corresponding
clock source begins its next cycle.
0 PWM output disabled
1 PWM output enabled
4
Reserved, should be cleared.
3
PWME3
PWM channel 3 output enable. If enabled, the PWM signal becomes available at PWMOUT3 when its corresponding
clock source begins its next cycle.
0 PWM output disabled
1 PWM output enabled
2
Reserved, should be cleared.
1
PWME1
PWM channel 1 output enable. If enabled, the PWM signal becomes available at PWMOUT1 when its corresponding
clock source begins its next cycle.
0 PWM output disabled
1 PWM output enabled
0
Reserved, should be cleared.