Return pwm handle through pointer argument