Added support for fast PWM inversion