Skip to main content
gross
Associate II
July 15, 2015
Question

Using two independent timer interrupts

  • July 15, 2015
  • 0 replies
  • 418 views
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 :)

    This topic has been closed for replies.