English
Language : 

PXS20RM Datasheet, PDF (656/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
VAL1 ($0100)
VAL3
VAL5
VAL0 ($0000)
VAL4
VAL2
INIT ($FF00)
PWMA
PWMB
DBLPWM
Figure 25-7. Double Switching Output Example
25.3.2.5 ADC Triggering
In cases where the timing of the ADC triggering is critical, it must be scheduled as a hardware event
instead of software activated. With this PWM module, multiple ADC triggers can be generated in
hardware per PWM cycle without the requirement of another timer module. Figure 25-8 shows how this
is accomplished. When specifying complimentary mode of operation, only two edge comparators are
required to generate the output PWM signals for a given submodule. This means that the other
comparators are free to perform other functions. In this example, the software doesn’t have to quickly
respond after the first conversion to set up other conversions that must occur in the same PWM cycle.
25-10
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor