AnsweredAssumed Answered

HAL Timer Module - read & set counter value

Question asked by h.hammer on Jul 16, 2014
Latest reply on Jul 16, 2014 by Montassar BEN ROMDHANE
In the old standard drivers, you could use TIM_GetCounter(TIM2) and  TIM_SetCounter(TIM2, 0) to read or modify the timer counter values. Is there a similar thing within the HAL drivers? I can't seem to find any replacement functions for these. Should I just access the register directly? TIM2->CNT

Outcomes