Does anyone has a simple example where it shows how external interrupts can be handle on TelosB using Contiki. For eg, when a button is pressed then the MSP430 micro-controller wakes up from the deep sleep mode, it does some stuffs and then switches back to deep sleep. Code snippet will be helpful.