]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Improve interrupt handling for USCI.
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 8 Apr 2010 00:02:56 +0000 (18:02 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 13 Apr 2010 20:18:26 +0000 (14:18 -0600)
Because some interrupts share an interrupt vector, we use the relevant interrupt
enable bit to decide if any user is interested in the interrupt.  If not, that
interrupt is skipped so that another interrupt in the if/then/elseif chain can
be taken.  We also defensively try to prevent I2C interrupts from being a
problem if not used, although no I2C code using these interrupts has yet been
written.


No differences found