[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf2xx/rf230 RF230DriverLayerP.nc, 1.2, 1.3
Miklos Maroti
mmaroti at users.sourceforge.net
Thu Mar 26 06:49:30 PDT 2009
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/mac/tkn154 DebugC.nc, 1.1, 1.2 DebugP.nc, 1.1, 1.2 DispatchUnslottedCsmaP.nc, 1.2, 1.3 IndirectTxP.nc, 1.4, 1.5
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf2xx/rf230 README, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/rf2xx/rf230
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15717
Modified Files:
RF230DriverLayerP.nc
Log Message:
support slow SPI interfaces
Index: RF230DriverLayerP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/rf2xx/rf230/RF230DriverLayerP.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RF230DriverLayerP.nc 10 Mar 2009 21:44:00 -0000 1.2
--- RF230DriverLayerP.nc 26 Mar 2009 13:49:25 -0000 1.3
***************
*** 434,437 ****
--- 434,438 ----
}
+ #ifndef RF230_SLOW_SPI
atomic
{
***************
*** 440,443 ****
--- 441,445 ----
}
call SLP_TR.clr();
+ #endif
ASSERT( ! radioIrq );
***************
*** 467,470 ****
--- 469,481 ----
while( --header != 0 );
+ #ifdef RF230_SLOW_SPI
+ atomic
+ {
+ call SLP_TR.set();
+ time = call RadioAlarm.getNow() + TX_SFD_DELAY;
+ }
+ call SLP_TR.clr();
+ #endif
+
time32 += (int16_t)(time) - (int16_t)(time32);
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/mac/tkn154 DebugC.nc, 1.1, 1.2 DebugP.nc, 1.1, 1.2 DispatchUnslottedCsmaP.nc, 1.2, 1.3 IndirectTxP.nc, 1.4, 1.5
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf2xx/rf230 README, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list