Question
How get timer state?
Hi,
I´m reading the doc of my kits, stm32f767zi and stm32f429zi, but if anyone could help I´ll appreciate. I need start and stop a timer named htim3, as follow:
if (HAL_OK!=HAL_TIM_Base_Start_IT(&htim3))
Error_Handler();
But, if I execute the code twice, I get an error. How can I check if timer was started, before start and stop again? Are there an example code?
I know there´s a register with the information, but I don´t know how use it.
Thanks,
Geraldo.
