cancel
Showing results for 
Search instead for 
Did you mean: 

Using two independent timer interrupts

gross
Associate II
Posted on July 15, 2015 at 09:57

Hey,

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 🙂

0 REPLIES 0