AnsweredAssumed Answered

How to know which timer triggered the callback

Question asked by Phataas on Nov 5, 2014
Latest reply on Nov 5, 2014 by Phataas
How can I check what timer triggered the callback:

void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim)
{
}

I investigated the htim structure, but did not find anything that can be used to do this..

There should be some ID or a function for checking if htim == htim1 etc.

Outcomes