[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/pins
HplMsp430InterruptNMIP.nc, 1.1.2.2, 1.1.2.3
Jonathan Hui
jwhui at users.sourceforge.net
Wed Jul 19 15:45:15 PDT 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/system/arbiters ArbiterP.nc,
1.1.2.6, 1.1.2.7 ControlledArbiterP.nc, 1.1.2.3,
1.1.2.4 ControlledFcfsArbiterC.nc, 1.1.2.1,
1.1.2.2 ControlledRoundRobinArbiterC.nc, 1.1.2.1,
1.1.2.2 FcfsArbiterC.nc, 1.1.2.3,
1.1.2.4 RoundRobinArbiterC.nc, 1.1.2.2, 1.1.2.3
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/doc index.html,1.1.2.6,1.1.2.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/pins
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15326
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
HplMsp430InterruptNMIP.nc
Log Message:
Include fixes made in 1.x tree by Robert Szewczyk.
Constants MNIIFG, OFIFG and ACCVIFG are bitmasks rather than bit
positions. This addresses bug 1371869
Index: HplMsp430InterruptNMIP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/pins/HplMsp430InterruptNMIP.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** HplMsp430InterruptNMIP.nc 19 Jun 2006 11:12:23 -0000 1.1.2.2
--- HplMsp430InterruptNMIP.nc 19 Jul 2006 22:45:13 -0000 1.1.2.3
***************
*** 73,79 ****
async command void ACCV.clear() { atomic FCTL3 &= ~ACCVIFG; }
! async command bool NMI.getValue() { bool b; atomic b=(IFG1 >> NMIIFG) & 0x01; return b; }
! async command bool OF.getValue() { bool b; atomic b=(IFG1 >> OFIFG) & 0x01; return b; }
! async command bool ACCV.getValue() { bool b; atomic b=(FCTL3 >> ACCVIFG) & 0x01; return b; }
async command void NMI.edge(bool l2h) {
--- 73,79 ----
async command void ACCV.clear() { atomic FCTL3 &= ~ACCVIFG; }
! async command bool NMI.getValue() { bool b; atomic b=(IFG1 & NMIIFG) & 0x01; return b; }
! async command bool OF.getValue() { bool b; atomic b=(IFG1 & OFIFG) & 0x01; return b; }
! async command bool ACCV.getValue() { bool b; atomic b=(FCTL3 & ACCVIFG) & 0x01; return b; }
async command void NMI.edge(bool l2h) {
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/system/arbiters ArbiterP.nc,
1.1.2.6, 1.1.2.7 ControlledArbiterP.nc, 1.1.2.3,
1.1.2.4 ControlledFcfsArbiterC.nc, 1.1.2.1,
1.1.2.2 ControlledRoundRobinArbiterC.nc, 1.1.2.1,
1.1.2.2 FcfsArbiterC.nc, 1.1.2.3,
1.1.2.4 RoundRobinArbiterC.nc, 1.1.2.2, 1.1.2.3
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/doc index.html,1.1.2.6,1.1.2.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list