AnsweredAssumed Answered

STM32L0xx CUBE bug: GPIO EXTI config

Question asked by ELIK on Jun 8, 2015
Latest reply on Jun 11, 2015 by Amel N
STM32L0 CUBE pack, file stm32l0xx_hal_gpio.c have a mega-bug. When will be used GPIO EXTI function, at end of config the all SYSCFG->EXTICR registers will be set to FFFF.
in file, function HAL_GPIO_Init:
259:   temp &= ~((uint32_t)0x0F) << (4 * (position & 0x03));
must be:
259:   temp &= ~(((uint32_t)0x0F) << (4 * (position & 0x03)));

This bug may have place in the other packs, need to check it.

To developers: People, please adjust it in your sources and archives!!!