I want to set GP1[1] as a interrupt mode, When a trigger comes,it comes to execute a function,like:
void __irq fun(void)
{
printf("A interrupt comes.\n");
}
How to do it? Should I modify board-da850.c,gpio.c,da850.c files?
Whether I need use request_irq function to request a interrupt or not?
Regards
He