LPC1768 External Interrupt both edges (LPCOpen)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Rosfudum on Fri Nov 06 07:23:45 MST 2015
Dear all,
I'd like to set external interrupt on one pin of LPC1768 in both direction, rising and falling. but I've got just two functions:

In case of LPC1115, there is a function called Chip_GPIO_SetupPinInt
where you can pass GPIO_INT_BOTH_EDGES as parameter so, both edges are covered by interrupt.

In case I use first Falling and then Rising, Interrupt request will be called in both edges (so functions are in OR) or last setting "win" and just rising edges occurs an interrupt?

In case of second condition, is there any (softwre) workaround to catch both edges?

Thanks a lot!