X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fadc12%2FMsp430Adc12ClientAutoDMA_RVGC.nc;h=9d554ee9f20db8cfda757dc27b80eec0063a45c0;hb=60959169f556ee3dc648a69f5c8fb1ed9cd887c7;hp=7377496e18c158d7e7e7460a1085804e42644b13;hpb=280c1821f287389e7d13ee048e0f3a28927d1302;p=tinyos-2.x.git diff --git a/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc b/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc index 7377496e..9d554ee9 100644 --- a/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc +++ b/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc @@ -47,15 +47,17 @@ generic configuration Msp430Adc12ClientAutoDMA_RVGC() provides { interface Resource; interface Msp430Adc12SingleChannel; + interface Msp430Adc12Overflow; } uses interface AdcConfigure; } implementation { - components Msp430Adc12P, Msp430RefVoltArbiterP; + components Msp430Adc12P, Msp430RefVoltArbiterP, Msp430Adc12DMAWireC; enum { ID = unique(MSP430ADC12_RESOURCE), }; Resource = Msp430RefVoltArbiterP.ClientResource[ID]; + Msp430Adc12Overflow = Msp430Adc12P.Overflow[ID]; Msp430RefVoltArbiterP.AdcResource[ID] -> Msp430Adc12P.Resource[ID]; @@ -69,8 +71,4 @@ generic configuration Msp430Adc12ClientAutoDMA_RVGC() Msp430Adc12DMAP.SubSingleChannel[ID] -> Msp430Adc12P.SingleChannel[ID]; Msp430Adc12DMAP.AsyncAdcControl[ID] -> Msp430Adc12P.DMAExtension[ID]; - - Msp430Adc12DMAP.DMAControl -> Msp430DmaC.Control; - Msp430Adc12DMAP.DMAChannel -> Msp430DmaC.Channel0; - }