[Tinyos-help] About GpioInterrupt and Msp430InterruptC

Dimas Abreu Dutra d1ma5ad at gmail.com
Wed Aug 6 11:44:34 PDT 2008


Hello all,

I am using the module Msp430InterruptC on the tmote invent and noticed that
the GpioInterrupt.enableXXXEdge() does not make the pin an input. Therefore,
to really enable an interrupt it is necessary to call GeneralIO.makeInput().

I read TEP117 and it does not mention what is expected, but I believe that
the interrupt is not really enabled if the pin is not set as an input.
Perhaps Msp430InterruptC should include a call to GeneralIO.makeInput().

Thanks for the attention,
~Dimas~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080806/9ca200e9/attachment.htm 


More information about the Tinyos-help mailing list