provides {\r
interface Resource;\r
interface Msp430Adc12SingleChannel;\r
+ interface Msp430Adc12MultiChannel;\r
}\r
uses interface AdcConfigure<const msp430adc12_channel_config_t*>;\r
} implementation {\r
};\r
Resource = Msp430RefVoltArbiterP.ClientResource[ID];\r
Msp430Adc12SingleChannel = Msp430Adc12P.SingleChannel[ID];\r
+ Msp430Adc12MultiChannel = Msp430Adc12P.MultiChannel[ID];\r
\r
Msp430RefVoltArbiterP.AdcResource[ID] -> Msp430Adc12P.Resource[ID];\r
- AdcConfigure = Msp430RefVoltArbiterP.Config[ID]; \r
+\r
+ components new Msp430Adc12ConfAlertC();\r
+ AdcConfigure = Msp430Adc12ConfAlertC.ConfUp;\r
+ Msp430RefVoltArbiterP.Config[ID] -> Msp430Adc12ConfAlertC.ConfSub; \r
}\r