]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMAC.nc
- bugfix: ReadStream did not work with a "usPeriod" parameter > 0xFFFF (the fix uses...
[tinyos-2.x.git] / tos / chips / msp430 / adc12 / Msp430Adc12ClientAutoDMAC.nc
index 2f75f47dd706e212e5b08f9f5f43b4f4ce6ac1a8..74db72f90c806bc27551e2ec3482629dc6043a19 100644 (file)
@@ -48,19 +48,19 @@ generic configuration Msp430Adc12ClientAutoDMAC()
   provides {\r
     interface Resource;\r
     interface Msp430Adc12SingleChannel;\r
+    interface Msp430Adc12Overflow;\r
   }\r
 } implementation {\r
-  components Msp430DmaC, Msp430Adc12DMAP, Msp430Adc12P;\r
+  components Msp430DmaC, Msp430Adc12DMAP, Msp430Adc12P, Msp430Adc12DMAWireC;\r
    \r
   enum {\r
     ID = unique(MSP430ADC12_RESOURCE),\r
   };\r
   Resource = Msp430Adc12P.Resource[ID];\r
   Msp430Adc12SingleChannel = Msp430Adc12DMAP.SingleChannel[ID];\r
+  Msp430Adc12Overflow = Msp430Adc12P.Overflow[ID];\r
   \r
   Msp430Adc12DMAP.SubSingleChannel[ID] -> Msp430Adc12P.SingleChannel[ID];\r
   Msp430Adc12DMAP.AsyncAdcControl[ID] -> Msp430Adc12P.DMAExtension[ID];\r
 \r
-  Msp430Adc12DMAP.DMAControl -> Msp430DmaC.Control;\r
-  Msp430Adc12DMAP.DMAChannel -> Msp430DmaC.Channel0;\r
 }\r