The PWM module generates a Pulse-Width Modulated signal determined by the duty cycle, period, and resolution that are configured by the following registers:
Each PWM module uses the same timer source, Timer2, to control each module.
Figure 1 shows a simplified block diagram of PWM operation.
Figure 2 shows a typical waveform of the PWM signal.
For a step-by-step procedure on how to set up this module for PWM operation, refer to Setup for PWM Operation Using PWMx Output Pins.