Hello Shan,

It's my assumption that the reason is because level-triggers are not
practical for most applications.  The reason for having an interrupt at
all is to handle some event that happens in the physical (i.e. "real")
world.  A level trigger would essentially be the same a polling the
port, which can be easily done in your main program loop.

Best regards,

-Jim


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of shan
Sent: Saturday, September 20, 2008 9:13 PM
To: [email protected]
Subject: [Tinyos-help] level trigger for interrupt

Hi,
  Why does GpioInterrupt not support level trigger, only support edge
trigger ?
  Can anyone tell me the internal or reason ?

Best regards
  shan
_______________________________________________
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

Reply via email to