Question
How to know which timer triggered the callback
Posted on November 05, 2014 at 12:14
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.