2017-07-30 06:59 AM
Playing around with timer/counters, trying to learn things.
When I use HAL_TIM_OC_Start_IT, the callback HAL_TIM_OC_DelayElapsedCallback gets called at the appropriate time. The counter continues on happily about its way, and when it rolls over, shouldn't I expect to also get a callback for PeriodElapsed?
Solved! Go to Solution.
2017-07-30 08:19 AM
Hello!
The answer is no, with this callback function.
When you start your timer with HAL_TIM_Base_Start_IT... you get callback HAL_TIM_PeriodElapsedCallback , means that timer's 'Update Flag' is set.
You can call both functions to get two types of callbacks.
2017-07-30 08:19 AM
Hello!
The answer is no, with this callback function.
When you start your timer with HAL_TIM_Base_Start_IT... you get callback HAL_TIM_PeriodElapsedCallback , means that timer's 'Update Flag' is set.
You can call both functions to get two types of callbacks.
2017-07-30 11:07 AM
>You can call both functions to get two types of callbacks.
I learned something new today.