PWM MOSFET driver