[pwm] replace 'analog_write()' with 'pwm_start()' which accepts frequency as well as duty cycle in preparation for:
1. Configurable frequencies
2. separation of DAC analog write and PWM analog write