I don’treally understand why do you want measure conversion time it is deterministic.I guess you are looking for TIM_ITConfig(TIM1, TIM_IT_Update, ENABLE).
From wantI remember you want to create pwm signal based on analog value. Use one of CCmode flags to fire ADC at the end of pwm cycle then compute duty either by theend of conversion or at tim update event and use other CC register to generatepwm signal. There is going to be a bit of cycles lost for calculations. If youwant to make it precise use CYCCNT register to measure execution time andadjust CC accordingly. Personally I would use adc continuous mode and stop worryingabout triggering etc for the sake of simplicity.
Retrieving data ...