X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fadc12%2FMsp430Adc12P.nc;h=bb1afb6d9e2c174773412f9e62de7c535b7b219d;hb=337d0b13acf569c2640b3ed7b7f5c7cec35d7ddd;hp=834e586f4a0e1c80cfe64cbfe9f4c158ba5645f4;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/tos/chips/msp430/adc12/Msp430Adc12P.nc b/tos/chips/msp430/adc12/Msp430Adc12P.nc index 834e586f..bb1afb6d 100644 --- a/tos/chips/msp430/adc12/Msp430Adc12P.nc +++ b/tos/chips/msp430/adc12/Msp430Adc12P.nc @@ -39,6 +39,8 @@ configuration Msp430Adc12P provides { interface Resource[uint8_t id]; interface Msp430Adc12SingleChannel as SingleChannel[uint8_t id]; + interface Msp430Adc12MultiChannel as MultiChannel[uint8_t id]; + interface Msp430Adc12Overflow as Overflow[uint8_t id]; interface AsyncStdControl as DMAExtension[uint8_t id]; } } implementation { @@ -47,6 +49,8 @@ configuration Msp430Adc12P Resource = Arbiter; SingleChannel = Msp430Adc12ImplP.SingleChannel; + MultiChannel= Msp430Adc12ImplP.MultiChannel; + Overflow = Msp430Adc12ImplP.Overflow; DMAExtension = Msp430Adc12ImplP.DMAExtension; Msp430Adc12ImplP.Init <- MainC;