Question
Bad operation in stm32l0xx_hal_tim.c
Posted on June 23, 2015 at 11:07
Hello,
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 !