15.4.3.2 PWM Operating Modes
The PWM module supports a wide range of PWM modes for both motor control and power supply designs. The following PWM modes are supported:
- Independent Edge PWM mode (default)
- Variable Phase PWM mode
- Independent Edge PWM mode, Dual Output
- Center-Aligned PWM mode
- Double Update Center-Aligned PWM mode
- Dual Edge Center-Aligned PWM mode
The PWM modes are selected by setting the MODSEL[2:0] bits (PGxCON[2:0]). Some modes utilize multiple time base cycles to complete a single PWM cycle. Refer to Equation 15-2 for specifics on timing.