I have given GPIO_edge_rising ,but continuous interrupt is getting if the switch is off also.
You need to clear the interrupt flag and call InterruptDone().
You could also use our Toradex CE Libraries to simplify the task of interrupt handling.
I have given GPIO_edge_rising ,but continuous interrupt is getting if the switch is off also.
You need to clear the interrupt flag and call InterruptDone().
You could also use our Toradex CE Libraries to simplify the task of interrupt handling.