]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/telosa/PlatformSerialC.nc
Add a BusyWait interface for controlling SHT1X timing requirements.
[tinyos-2.x.git] / tos / platforms / telosa / PlatformSerialC.nc
index edb0f17b58b6eadfba68f25160ac5b3613d3844c..c869bab7591856cf833f5a983dd35695def6568e 100644 (file)
@@ -1,14 +1,21 @@
+
 configuration PlatformSerialC {
-  provides interface Init;
+  
   provides interface StdControl;
-  provides interface SerialByteComm;
+  provides interface UartStream;
+  provides interface UartByte;
+  
 }
-implementation {
-  components new Uart1C() as UartC, TelosSerialP;
 
-  Init = UartC;
-  StdControl = UartC;
+implementation {
+  
+  components new Msp430Uart1C() as UartC;
+  UartStream = UartC;  
+  UartByte = UartC;
+  
+  components TelosSerialP;
   StdControl = TelosSerialP;
-  SerialByteComm = UartC;
+  TelosSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
   TelosSerialP.Resource -> UartC.Resource;
+  
 }