Part Number:CC2650
Is it possible to detect if edge detection interrupt is triggered by rising edge or falling edge on CC26xx or CC13xx?
the input pin has IOC_BOTH_EDGES and IOC_INT_ENABLE configurations. I use the below function register an edge detection, but the interrupt function doesn't allow to specify the edge
IntRegister( INT_AON_GPIO_EDGE, pin_int_handler);
hw_ints.h in cc26xxware list has only INT_AON_GPIO_EDGE, I don't see any function/register information if it is possible to get what edge detection caused the interrupt.
Probably I can get that info by having some delay and read the pin value, but can I fetch this info from any register or by a function?