To configure the PWM module to generate a right-aligned output, the MODE bits of the PWM Configuration registers are used to select the output alignment mode and the P1 or P2 parameter registers are used to determine the resulting period of the outpu...