2017-01-27 08:13 AM
Hi,
just reporting another issue with the HAL lib 1.14 for STM32F4
When you first init a GPIO as EXTI and then deinit it with the HAL_GPIO_DeInit() function it will not mask the pin int source.. although it is mentioned in the DeInit function, apparently has no effect.
With this, you still getting pin interrupts from this pin evem if this is reinitialized as GPIO_input..I added
EXTI->IMR &= ~((uint32_t)Pin);
right after my DeInit() call to correct it in my application, but a fix in HAL lib is needed.2017-01-27 08:43 AM
Hello
Laureano_Carneiro_Ca
,Your feedback is shared
internally
for further review. We will keep you posted about the taken actions/explanation if needed.Thank you for your contribution and we apologize for the
inconvenience this may cause.
Khouloud.