English
Language : 

PXD20RM Datasheet, PDF (1422/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
Motor Controller
Timer Counter
Clock
Motor Controller
Timer Counter
0
PWM Output
15
1 Period
100 Counts
99 0
15
1 Period
100 Counts
99 0
MCCTL0[DITH] = 0, MCCCx[MCAM] = 0x1, MCDCx[DUTY] = 15, MCPER[PER] = 100,
MCCTL1[RECIRC] = 0
Figure 41-19. Left Aligned
Right aligned (MCCCx[MCAM] = 0x2): The output will start inactive (high if MCCTL1[RECIRC] = 0
and low if
MCCTL1[RECIRC] = 1) and will turn active after the number of counts specified by the difference of the
contents of period register and the corresponding duty cycle register.
Motor Controller
Timer Counter
Clock
Motor Controller
Timer Counter
0
85
99 0
85
99 0
PWM Output
1 Period
100 Counts
1 Period
100 Counts
MCCTL0[DITH] = 0, MCCCx[MCAM] = 0x2, MCDCx[DUTY] = 15, MCPER[PER] = 100,
MCCTL1[RECIRC] = 0
Figure 41-20. Right Aligned
Center aligned (MCCCx[MCAM] = 0x3): Even periods will be output left aligned, odd periods will be
output right aligned. PWM operation starts with the even period after the channel has been enabled. PWM
operation in center aligned mode might start with the odd period if the channel has not been disabled before
changing the alignment mode to center aligned.
41-22
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
Freescale Semiconductor