[Tinyos-help] Interrupts and async events question

Adam shiyuan69 at gmail.com
Wed Sep 6 14:20:49 PDT 2006


It is a great question - I am looking at build/telosb/app.c and has a
complementary question:

I notice an async event is actually implemented by
__attribute((interrupt(xx))) function:
void  __attribute((wakeup)) __attribute((interrupt(14)))
sig_ADC_VECTOR(void) 

Can another interuption interupt this routine?



-----Original Message-----
From: tinyos-help-bounces at Millennium.Berkeley.EDU
[mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] On Behalf Of jose m
Sent: Wednesday, September 06, 2006 1:22 PM
To: tinyos-help at Millennium.Berkeley.EDU
Subject: [Tinyos-help] Interrupts and async events question

Hello everybody,

In tinyos, usually, an interrupt signals an async event. When an interrupt
routine is executed, all the interrupts are masked and cannot interrupt the
current interrupt routine. If this interrupt routine jumps to a signalled
event, are the other interrupts disabled until this event (and every routine
called from this
event) finish it execution and return the control to the interrupt routine?

Thanks,

José


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas
(Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas

_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




More information about the Tinyos-help mailing list