8 Conclusion
The Complementary Waveform Generator (CWG) peripheral generates Pulse-Width Modulated (PWM) waveforms. The CWG can produce up to four output signals from a single selectable input source. The output signals can be used in several modes of operation. Each CWG output has its own independent polarity control, and may be routed to one of several pins through the Peripheral Pin Select (PPS) module. The Auto-Shutdown feature can be used to immediately halt the CWG outputs during a fault condition and allow the module to resume operation once the fault condition has been removed.