]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/chips/rf230/HplRF2xxP.nc
moving files from rf230 to rf2xx, prepare the support of rf212
[tinyos-2.x.git] / tos / platforms / iris / chips / rf230 / HplRF2xxP.nc
index a97f81c67abdcf78a7d2e0888d13dd47e5f27e31..3a06d1c27763d063ce08633c0dca74ddd41e97de 100644 (file)
@@ -29,8 +29,6 @@ module HplRF2xxP
        {
                interface GpioCapture as IRQ;
                interface Init as PlatformInit;
-
-               interface FastSpiByte;
        }
 
        uses
@@ -83,43 +81,4 @@ implementation
        {
                call Capture.stop();
        }
-
-       inline async command void FastSpiByte.splitWrite(uint8_t data)
-       {
-               // the SPI must have been started, so do not waste time here
-               // SET_BIT(SPCR, SPE);
-
-               SPDR = data;
-       }
-
-       inline async command uint8_t FastSpiByte.splitRead()
-       {
-           while( !( SPSR & 0x80 ) )
-                       ;
-               return SPDR;
-       }
-
-       inline async command uint8_t FastSpiByte.splitReadWrite(uint8_t data)
-       {
-               uint8_t b;
-
-           while( !( SPSR & 0x80 ) )
-                       ;
-               b = SPDR;
-               SPDR = data;
-
-               return b;
-       }
-
-       inline async command uint8_t FastSpiByte.write(uint8_t data)
-       {
-               // the SPI must have been started, so do not waste time here
-               // SET_BIT(SPCR, SPE);
-
-               SPDR = data;
-           while( !( SPSR & 0x80 ) )
-                       ;
-
-               return SPDR;
-       }
 }