Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello all.
I'm just about to implement a bunch of push buttons in a hand contrroller design and (since I haven't tried this yet) was wondering if I tie the button press to an edge interrupt am I going to see potentially more than one InterruptIn nesting? In other designs I've done, the interrupt can be disabled or masked while the in routine ensuring that the interrupt function occurs only once for the event. Does the InterruptIn disable the interrupt until it returns? Also, can I check the state of the digital line while I'm in the routine to see if the button is being held down?
Thanks for the help...
Gary