Hi, > Can I say event is at higher level while interrupt is at lower level?
Roughly speaking, yes. http://en.wikipedia.org/wiki/Interrupt http://en.wikipedia.org/wiki/Event_%28computing%29 > Can you help me find an example of interrupt handler in TinyOS? I would start looking at codes dealing with hardware, for example in: /opt/tinyos-2.1.1/tos/chips/atm128/pins Ali On Sun, Jun 6, 2010 at 8:05 PM, Xiaohui Liu <[email protected]> wrote: > Hi, > Can I say event is at higher level while interrupt is at lower level? I > guess event handler may be sync if you look at Receive.receive() event. > Can you help me find an example of interrupt handler in TinyOS? Thank you. > On Sat, Jun 5, 2010 at 3:28 PM, Ali Baharev <[email protected]> wrote: >> >> Hi, >> >> "a callback subroutine in an operating system or device driver " >> http://en.wikipedia.org/wiki/Interrupt_handler >> >> --- >> >> "an event handler is an asynchronous callback subroutine that handles >> inputs received in a program" >> http://en.wikipedia.org/wiki/Event_handler >> >> Ali > > > > -- > -Xiaohui Liu > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
