]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/sensorboards/mts300/PhotoTempDeviceC.nc
Remove some files which don't work.
[tinyos-2.x.git] / tos / sensorboards / mts300 / PhotoTempDeviceC.nc
diff --git a/tos/sensorboards/mts300/PhotoTempDeviceC.nc b/tos/sensorboards/mts300/PhotoTempDeviceC.nc
deleted file mode 100644 (file)
index 28c1520..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#include "mts300.h"
-
-configuration PhotoTempDeviceC
-{
-  provides interface Resource as PhotoResource[uint8_t client];
-  provides interface Resource as TempResource[uint8_t client];
-  provides interface Read<uint16_t> as ReadPhoto[uint8_t client];
-  provides interface Read<uint16_t> as ReadTemp[uint8_t client];
-}
-implementation
-{
-  components MicaBusC, PhotoTempP,
-    new RoundRobinArbiterC(UQ_PHOTOTEMP_RESOURCE) as SharingArbiter,
-    new RoundRobinArbiterC(UQ_PHOTO_RESOURCE) as PhotoArbiter,
-    new RoundRobinArbiterC(UQ_TEMP_RESOURCE) as TempArbiter,
-    new SplitControlPowerManagerC() as PhotoPower,
-    new SplitControlPowerManagerC() as TempPower,
-    new PhotoTempControlP() as PhotoControl,
-    new PhotoTempControlP() as TempControl,
-    new TimerMilliC() as WarmupTimer,
-    new AdcReadClientC() as Adc;
-
-  PhotoResource = PhotoArbiter;
-  PhotoPower.ResourceDefaultOwner -> PhotoArbiter;
-  PhotoPower.ArbiterInfo -> PhotoArbiter;
-  PhotoPower.SplitControl -> PhotoControl;
-  PhotoControl.PhotoTempResource -> SharingArbiter.Resource[unique(UQ_PHOTOTEMP_RESOURCE)];
-  PhotoControl.Timer -> WarmupTimer;
-  PhotoControl.Power -> MicaBusC.Int1;
-  ReadPhoto = PhotoControl;
-  PhotoControl.ActualRead -> Adc;
-
-  TempResource = TempArbiter;
-  TempPower.ResourceDefaultOwner -> TempArbiter;
-  TempPower.ArbiterInfo -> TempArbiter;
-  TempPower.SplitControl -> TempControl;
-  TempControl.PhotoTempResource -> SharingArbiter.Resource[unique(UQ_PHOTOTEMP_RESOURCE)];
-  TempControl.Timer -> WarmupTimer;
-  TempControl.Power -> MicaBusC.Int2;
-  ReadTemp = TempControl;
-  TempControl.ActualRead -> Adc;
-
-  Adc.Atm128AdcConfig -> PhotoTempP;
-  PhotoTempP.PhotoTempAdc -> MicaBusC.Adc1;
-}