stm32_pwm_raw_capture
ret = stm32_pwm_raw_capture(chip, pwm, tmo_ms, &raw_prd, &raw_dty);
ret = stm32_pwm_raw_capture(chip, pwm, tmo_ms, &raw_prd,