Dear Alexis,
Regarding your suggestion, I thought the same but I do have some confusion.
You could check the logic state of the pin to check which one is enabled. For this I will suggest to check the lpcxpresso54628_gpio_led_output from the SDK.
-> Reading pin state on interrupt event in ISR how efficient is it? If Pin state can get changed before we read the state, cannot it be possible?
If I am having used multiple pins configured as an interrupt with different logic level transition (high to low or low to high), would not it will be difficult to identify actual pin by reading their states.
Hope you will understand what I am trying to elaborate.
Thanks,
Rahul Patel.