+ pwm capture interface implemented