Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g4/STM32G431/EXTI/PR2#0x0
Pending register
Pending interrupt flag on line 35
Pending interrupt flag on line 36
Pending interrupt flag on line 37
Pending interrupt flag on line 38
https://github.com/modm-io/cmsis-svd-stm32