[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/spi CC2420SpiC.nc, 1.2, 1.3

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Wed Nov 26 02:13:33 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/spi
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26158/tos/chips/cc2420/spi

Modified Files:
	CC2420SpiC.nc 
Log Message:
Added an interface for accessing the RXFIFO in a non-split phase (synchronous) way. The reason for having this interface is that, according to datasheet, before flushing the RXFIFO one has to read at least one byte from the RXFIFO and the radio driver code is less complicated if flushing the RXFIFO can happen in a non-split phase (synchronous) way.

This commit is in agreement with JeongGil Ko (John Ko), who is the current maintainer of the CC2420 stack.
 

Index: CC2420SpiC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/spi/CC2420SpiC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CC2420SpiC.nc	28 May 2008 16:39:53 -0000	1.2
--- CC2420SpiC.nc	26 Nov 2008 10:13:31 -0000	1.3
***************
*** 80,83 ****
--- 80,84 ----
    provides interface CC2420Register as MANOR;
    provides interface CC2420Register as AGCCTRL;
+   provides interface CC2420Register as RXFIFO_REGISTER;
  
    // ram
***************
*** 143,146 ****
--- 144,148 ----
    MANOR = Spi.Reg[ CC2420_MANOR ];
    AGCCTRL = Spi.Reg[ CC2420_AGCCTRL ];
+   RXFIFO_REGISTER = Spi.Reg[ CC2420_RXFIFO ];
    
    // ram



More information about the Tinyos-2-commits mailing list