Datasheet

Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6C) Module
MC9S12E256 Data Sheet, Rev. 1.10
362 Freescale Semiconductor
Figure 11-45. Center-Aligned PWM Pulse Width
Edge-aligned operation is illustrated in Figure 11-46.
PWM pulse width = (PWM value) × (PWM clock period)
Figure 11-46. Edge-Aligned PWM Pulse Width
11.4.4 Independent or Complementary Channel Operation
Writing a logic one to a INDEPx bit configures a pair of the PWM outputs as two independent PWM
channels. Each PWM output has its own PWM value register operating independently of the other
channels in independent channel operation.
UP/DOWN COUNTER
MODULUS = 4
PWM VALUE = 0
0/4 = 0%
PWM VALUE = 1
1/4 = 25%
PWM VALUE = 2
2/4 = 50%
PWM VALUE = 3
3/4 = 75%
PWM VALUE = 4
4/4 = 100%
COUNT
12343210 1 23 43210
UP COUNTER
PWM VALUE = 0
MODULUS = 4
PWM VALUE = 1
PWM VALUE = 2
PWM VALUE = 3
PWM VALUE = 4
0/4 = 0%
1/4 = 25%
2/4 = 50%
3/4 = 75%
4/4 = 100%
COUNT 1 2 3
0