Hello all,
i am using zstack HA 1.20 and cc2538 board for my project.
I want to implement GPIO interrup or say external interrupt in my project for zstack HA 1.20.
anyone plz tell me how can i recognize GPIO interrupt and how i can jump to ISR associated with it....
for Ex- > key press is a interrupt in a zigbee and handlekey() is a ISR associated for it same way i hav something attached on my GPIO pin of CC2538 and it is giving me some inerrupt and i wrote a ISR for it..so now i want to implement that when ever i get a interrupt on this GPIO pin my prog execution flow should jump to its ISR which i hav register for it......
in short i want to know 4 things--> 1) how to monitor/read /receive interrupt from GPIO in zstack HA 1.20.
2) how to attach/register ISR for this interrupt.
3) how can i generate or implement Events for this interrupt.
4) How can i recognize Rising Edge and Falling Edge interrupt.
i am using zstack HA 1.20 and cc2538 board.....
Anyone plz tell me how can i do this ? if possible give me some example also how and where i hav to do changes in my code or which function i need to add in my code....
Thanks & Regards,
Maneesh singh