[Tinyos-host-mote-wg] RE: [Tinyos-2.0wg] Interrupt interface
Philip Levis
pal at cs.stanford.edu
Thu Oct 20 14:01:06 PDT 2005
On Thu, 2005-10-20 at 13:38, Phil Buonadonna wrote:
> Not too much to understand, I think. Except that there are/will be devices
> which can be set to interrupt on both edges, not just one. If we stick to
> the present interface, we consciously block this capability. I think that's
> just fine, but we should be aware of it.
This is a tough one.
On one hand, having two interfaces means, well, having two interfaces.
On the other, the Interrupt interface is an HIL interface (e.g., the
MSP430Interrupt interface has more functionality). Allowing additional
parameters that could be invalid (e.g., making it take an
interrupt_edge_t of HIGH_TO_LOW LOW_TO_HIGH or CHANGE) goes against
static binding, in that the error is at runtime.
Phil
_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
More information about the Tinyos-host-mote-wg
mailing list