15.4.3.1 PWM Generator Clocking
Each PWM Generator can be clocked independently of one another for maximum flexibility. There are four clock options available selected by the CLKSEL[1:0] bits (PGxCON[4:3]):
- No clock (lowest power state)
- Output of MCLKSEL
- Output of clock divider
- Output frequency scaler
This configuration flexibility allows, for example, one group of PWM Generators to operate at a higher frequency, while another group of PWM Generators operates at a lower frequency.
Note: Do not change the MCLKSEL or CLKSEL[1:0] bits while
the PWM Generator is in operation (ON (PGxCON[15]) =
1
).