]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/chips/rf230/HplRF230C.nc
Prepare to support the RF212 chip (reorganization of timer and HPL constants)
[tinyos-2.x.git] / tos / platforms / iris / chips / rf230 / HplRF230C.nc
index bb5158956dc3ec2a084b20d52306f4a9d86b3f28..5ef56e044006d161ca33b7fa5b5cb583fa14ff9e 100644 (file)
@@ -29,15 +29,13 @@ configuration HplRF230C
        {
                interface GeneralIO as SELN;
                interface Resource as SpiResource;
-               interface SpiByte;
+               interface FastSpiByte;
 
                interface GeneralIO as SLP_TR;
                interface GeneralIO as RSTN;
 
                interface GpioCapture as IRQ;
                interface Alarm<TRadio, uint16_t> as Alarm;
-
-               interface HplRF230;
        }
 }
 
@@ -51,9 +49,8 @@ implementation
        
        components Atm128SpiC as SpiC;
        SpiResource = SpiC.Resource[unique("Atm128SpiC.Resource")];
-       SpiByte = SpiC;
 
-       HplRF230 = HplRF230P;
+       FastSpiByte = HplRF230P;
 
        components HplAtm128GeneralIOC as IO;
        SLP_TR = IO.PortB7;