mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 284

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Pulse-Width Modulator (S12PWM8B8CV2)
Read: Anytime
Write: Anytime
Note: Bits related to available channels have functional significance. Writing to unavailable bits has no effect. Read from
9.3.2.3
Each PWM channel has a choice of four clocks to use as the clock source for that channel as described
below.
Read: Anytime
Write: Anytime
284
Module Base + 0x0001
Module Base + 0x0002
PPOL[7:0]
Reset
Reset
Field
7–0
unavailable bits return a zero
W
W
R
R
PPOL7
PCLK7
Pulse Width Channel 7–0 Polarity Bits
0 PWM channel 7–0 outputs are low at the beginning of the period, then go high when the duty count is
1 PWM channel 7–0 outputs are high at the beginning of the period, then go low when the duty count is
PWM Clock Select Register (PWMCLK)
0
0
7
7
PPOLx register bits can be written anytime. If the polarity is changed while
a PWM signal is being generated, a truncated or stretched pulse can occur
during the transition
Register bits PCLK0 to PCLK7 can be written anytime. If a clock select is
changed while a PWM signal is being generated, a truncated or stretched
pulse can occur during the transition.
reached.
reached.
PCLKL6
PPOL6
0
0
6
6
Figure 9-5. PWM Clock Select Register (PWMCLK)
Figure 9-4. PWM Polarity Register (PWMPOL)
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
Table 9-3. PWMPOL Field Descriptions
PPOL5
PCLK5
0
0
5
5
PPOL4
PCLK4
NOTE
NOTE
0
0
4
4
Description
PPOL3
PCLK3
0
0
3
3
Rev. 2.2
PPOL2
PCLK2
0
0
2
2
PPOL1
PCLK1
Freescale Semiconductor
0
0
1
1
PPOL0
PCLK0
0
0
0
0

Related parts for mc9s12vr48