Part Number:AM3356
Tool/software: Starterware
Hi.
The next is related to am355x soc and built-in gpio controller.
I want to invoke callback1 on RISING EDGE and callback2 on FALLING EDGE from gpio interrupt handler.
From the datasheet i understood, that for enabling both edges interrupts on pin N
i should write this pin number to GPIO_RISINGDETECT and GPIO_FALLINGDETECT registers.
But how do I know if irq was caused by rising or by falling edge?
Thank you.