add pwm framework interface