AnsweredAssumed Answered

Using two independent timer interrupts

Question asked by gross.marcel on Jul 15, 2015

until now I am using a timer in interrupt mode. The interrupt is called by the function HAL_TIM_PeriodElapsedCallback. This works fine for me.

Now I need a second timer in interrupt. Can I call the interrupt with a second HAL_TIM_PeriodElapsedCallback function or is it not the right way?

In my opinion this can not work, becaus I can not specify the TIM_HandleTypeDef in the HAL_TIM_PeriodElapsedCallback function. How can I solve this problem?

Thanks :)