pwm_sg2042_config
pwm_sg2042_config(ddata, pwm->hwpwm, 0, 0);
pwm_sg2042_config(ddata, pwm->hwpwm, period_ticks, hlperiod_ticks);