AnsweredAssumed Answered

Bad operation in stm32l0xx_hal_tim.c

Question asked by SD on Jun 23, 2015
Latest reply on Jul 3, 2015 by SD
I do not understand why the TIMER instance is stopped when a specific bloc is stopped.
For example, I have 2 output compare channels activated on TIM2 with interruptions.
If I use HAL_TIM_OC_Stop_IT in order to stop one of these OC bloc, the HAL "__HAL_TIM_DISABLE(htim)" is called and so the result is a complete stop of the TIM2 (and so my second OC is not running anymore).
I think this is not a good operation, what do you think ?
Thanks !