2021-03-12 06:59 AM
Pretty much what the Q above says. Is it possible to do a HAL_GPIO_ReadPin on a pin that has been configured as an external interrupt?
2021-03-12 07:00 AM
Yes.
JW
2021-03-12 07:52 AM
As far as I'm aware GPIOx->IDR is always an accurate representation of the current pin state whether in GPIO or AF modes. Analogue IN turns off the schmitt trigger on the digital input side, so perhaps not then.
Should be workable on all STM32 models/families
2021-03-12 07:52 AM
Thanks!