Datasheet
PIC16(L)F1782/3
DS41579D-page 220 Preliminary 2011-2012 Microchip Technology Inc.
24.3.8 PULSE-SKIPPING PWM WITH
COMPLEMENTARY OUTPUTS
The pulse-skipping PWM is used to generate a series
of fixed-length pulses that may or not be triggered at
each period event. If any of the sources enabled to
generate a rising edge event are high when a period
event occurs, a pulse will be generated. If the rising
edge sources are low at the period event, no pulse will
be generated.
The rising edge occurs based upon the value in the
PSMCxPH register pair.
The falling edge event always occurs according to the
enabled event inputs without qualification between any
two inputs.
24.3.8.1 Mode Features
• Dead-band control is available
• No steering control available
• Primary PWM is output on only PSMCxA.
• Complementary PWM is output on only PSMCxB.
24.3.8.2 Waveform Generation
Rising Edge Event
If any enabled asynchronous rising edge event = 1
when there is a period event, then upon the next
synchronous rising edge event:
• Complementary output is set inactive
• Dead-band rising is activated (if enabled)
• Primary output is set active
Falling Edge Event
• Primary output is set inactive
• Dead-band falling is activated (if enabled)
• Complementary output is set active
FIGURE 24-11: PULSE-SKIPPING WITH COMPLEMENTARY OUTPUT PWM WAVEFORM
Note: To use this mode, an external source must
be used for the determination of whether or
not to generate the set pulse. If the phase
time base is used, it will either always gener-
ate a pulse or never generate a pulse based
on the PSMCxPH value.
1 2 3 4 5 6 7 8 9 10
Falling Edge Dead Band
Rising Edge Dead Band
PWM Period Number
Period Event
Asynchronous
Synchronous
Rising Edge Event
Rising Edge Event
PSMCxA
PSMCxB