Hi Phil,

I went through your programming manual.

And in chapter4 I found this following example.

Consider a packet layer on top of a UART. When the UART receives a byte,
it signals an interrupt. In the interrupt handler, software reads the
byte out of the data register and puts it in a buffer.
When the last byte of a packet is received, the software needs to signal
packet reception.

Do u mean to say that the interrupt handler for receiving the byte
through UART is an async event, and the sync event is one which handles
the packet reception signal.

Thank you

-----Original Message-----
From: Philip Levis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 29, 2006 2:25 AM
To: [EMAIL PROTECTED]
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] difference between events and async events

On Jun 28, 2006, at 1:43 AM, Hari Hara Sudhan wrote:

> Hi every one
>
> I am new to tiny os and nesC.
>
> I want to know the diference between the following two stmts.
>
> Event void timer.fired() and Async void timer.fired().
>
> Thank you in advance.
The TinyOS programming manual goes into the difference (Chapter 4).  
You can download it from:

http://csl.stanford.edu/~pal

Phil

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

Reply via email to