X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FMsp430UsciIntDispatchP.nc;h=cf676dfdbc1cd8a237501966f32e0f0513b884fa;hb=be862ab07d080085823951d18dcb27a28a310ace;hp=89424d32dfc022fc801b8ad7f8e4925bc50981bb;hpb=9b58ecb229fe2466638908e2e3c28f66f0439116;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usci/Msp430UsciIntDispatchP.nc b/tos/chips/msp430/usci/Msp430UsciIntDispatchP.nc index 89424d32..cf676dfd 100644 --- a/tos/chips/msp430/usci/Msp430UsciIntDispatchP.nc +++ b/tos/chips/msp430/usci/Msp430UsciIntDispatchP.nc @@ -10,7 +10,7 @@ * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * - Neither the name of the Technische Universität Berlin nor the names + * - Neither the name of the Titanium Mirror, Inc. nor the names * of its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -26,13 +26,13 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + /** * Interrupt dispatch for USCI_Ax and USCI_Bx devices. - * - * @author R. Steve McKown + * + * @author R. Steve McKown */ - + generic module Msp430UsciIntDispatchP() @safe() { provides interface HplMsp430UsciInt as Interrupts[uint8_t id]; uses { @@ -66,10 +66,10 @@ implementation { signal Interrupts.i2cCal[call ArbiterInfo.userId()](); } - async event void RawInt.i2cNak() + async event void RawInt.i2cNack() { if (call ArbiterInfo.inUse()) - signal Interrupts.i2cNak[call ArbiterInfo.userId()](); + signal Interrupts.i2cNack[call ArbiterInfo.userId()](); } async event void RawInt.i2cStart() @@ -88,7 +88,7 @@ implementation { default async event void Interrupts.rx[uint8_t id](uint8_t byte) {} default async event void Interrupts.tx[uint8_t id]() {} default async event void Interrupts.i2cCal[uint8_t id]() {} - default async event void Interrupts.i2cNak[uint8_t id]() {} + default async event void Interrupts.i2cNack[uint8_t id]() {} default async event void Interrupts.i2cStart[uint8_t id]() {} default async event void Interrupts.i2cStop[uint8_t id]() {} }