Datasheet

Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
MC9S12E128 Data Sheet, Rev. 1.07
360 Freescale Semiconductor
Center-aligned operation is illustrated in Figure 11-45.
PWM pulse width = (PWM value) × (PWM clock period) × 2
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
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
0123432101234321
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