2017-01-03 02:30 AM
RM0038 Reference manual
Page 502/908
Bit 1 UDIS: Update disable 0: UEV enabled 1: UEV disabledstm32l1xx_ll_tim.h
I think the SET_BIT and CLEAR_BIT macros are swapped !!!!__STATIC_INLINE void LL_TIM_EnableUpdateEvent(TIM_TypeDef *TIMx)
{ SET_BIT(TIMx->CR1, TIM_CR1_UDIS);}__STATIC_INLINE void LL_TIM_DisableUpdateEvent(TIM_TypeDef *TIMx){ CLEAR_BIT(TIMx->CR1, TIM_CR1_UDIS);}__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent(TIM_TypeDef *TIMx)
{ return (READ_BIT(TIMx->CR1, TIM_CR1_UDIS) != (TIM_CR1_UDIS));}2017-01-03 04:14 AM
Hello
Kiss.Tibor
,I will share internally your feedback for further review and we will keep you updated about the taken actions/explanation if needed.
Thank you for your contribution and we apology for the
inconvenience this may cause.
Khouloud.
2017-01-09 04:47 AM
Hi
Kiss.Tibor
,The reported bug is confirmed.It will be fixed in coming versions.
Thanks again for your contribution.
Khouloud.