It is recommended not to use preemptible ISRs in TinyOS. You can find preemptible IRSs here and there in the code, though. That's mainly for performance purposes.
Regarding interrupt priorities: you can find them in the MCU datasheets. AFAIK, the priorities are fixed in the ATMega (lower vector address has higher priority). My guess is that it's similar on the MSP430, though I don't have much experience with those. Janos On Fri, Jan 6, 2012 at 2:37 PM, Xiaohui Liu <[email protected]> wrote: > Hello everyone, > > When an interrupt occurs (e.g. packet reception), its ISR is going to be > executed. What will happen if another interrupt (e.g. another packet > reception or timer fires) occurs before the ISR for the previous interrupt > finishes? If the ISR is preempted, then interrupts can be nested and the > last interrupt will always be served first? If it depends on the priorities > of these interrupts, where can I find their priorities? Any explanation will > be highly appreciated. > > -- > -Xiaohui Liu > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
