Center-Aligned Mode

In Center-Aligned mode, the active duty cycle is centered in the period. The period for this mode is twice that of other modes, as shown in the following equation.
Figure 1. Center-Aligned Period
Period=(PR+1)×2FPWMx_clk
The parameter register specifies the number of PWM clock periods that the output goes Active before the period center. The output goes inactive the same number of prescaled PWM clock periods after the period center. Block and timing diagrams follow.
Figure 2. Center-Aligned Block Diagram
Figure 3. Center-Aligned Timing Diagram