I'm using Tiva C dev board. I've configured a GPIO pin to trigger an interrupt on both rising and falling edges. The same interrupt handler subroutine will be executed on both rising and falling edges. The logic I'm trying to implement will depend on which edge the interrupt was triggered on. Is there a way for me to check, for example via a status bit, on which edge the interrupt was issued?
I know I could solve this issue by using two pins, but I'm wondering if it is possible to do it with a single pin.
Kind regards,
Ahmad