[Tinyos-host-mote-wg] Fwd: [Tinyos-2.0wg] Interrupt interface

David Gay dgay42 at gmail.com
Fri Oct 21 15:13:19 PDT 2005


---------- Forwarded message ----------
From: David Gay <dgay42 at gmail.com>
Date: Oct 21, 2005 3:13 PM
Subject: Re: [Tinyos-2.0wg] Interrupt interface
To: Phil Buonadonna <pbuonadonna at archedrock.com>


On 10/21/05, Phil Buonadonna <pbuonadonna at archedrock.com> wrote:
> > - option 1) each microcontroller gets its own XXXPinInterrupt
> > interface - some platforms may even get several if they are like the
> > atmega128; these interfaces allow you to configure the pin's behaviour
> > at enable time
> > - option 2) each microcontroller offers generic components with
> > microcontroller-specific arguments specifying the interrupt rules, but
> > these components offer the no-argument Interrupt interface
>
> I wonder if this might create bad portability issues?

What do you mean? These components would be microcontroller-specific,
and typically used in the "adapt some other chip to this platform"
code, I presume (and probably sensor boards too). Any uses would be
clearly platform-specific.

David

_______________________________________________
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