15.5.2.2.3 Dual PWM Mode (Independent Edge PWM Mode, Dual Output)
The Dual PWM mode allows a single PWM Generator to produce two
independent pulse widths on the PWMx output pins. This mode is equivalent to Independent
Edge mode, except that it allows a second PWM pulse to be produced if the Independent
Output mode is used. The Dual PWM modes are selected when MODSEL[2:0] (PGxCON[2:0]) =
010. The PGxTRIGA and PGxTRIGB registers
function as a second set of PGxPHASE and PGxDC registers to allow control of a second
duty cycle generator. Figure 15-8 shows the
relationship between the control SFRs and the output waveform.
The PGxTRIGA and PGxTRIGB event output signals continue to operate normally in this mode and can still be used as phase offset triggers for other PWM Generators, ADC triggers, etc. If an independent trigger is needed, the PGxTRIGC register can be used. For additional information on ADC triggers, see ADC Triggers.
Since the PWM signals produced on the PWMx pins are generated from the same PWM Generator, they will be equally affected by any PWM Control Input (PCI) signals that are enabled. The PWMx pins will be driven to the states defined in the PGxIOCONx registers. Therefore, it is important that the two PWM outputs are used for related application functions if the PCI signals are to be used.
