X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fadc12%2FHplAdc12.nc;h=2f6d406700278e0f8220f8a7298aaf650b51964e;hb=337d0b13acf569c2640b3ed7b7f5c7cec35d7ddd;hp=0eb04afc4b3ff2be0c2187ba33ec9731b12516db;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/tos/chips/msp430/adc12/HplAdc12.nc b/tos/chips/msp430/adc12/HplAdc12.nc index 0eb04afc..2f6d4067 100644 --- a/tos/chips/msp430/adc12/HplAdc12.nc +++ b/tos/chips/msp430/adc12/HplAdc12.nc @@ -105,16 +105,6 @@ interface HplAdc12 */ async command void resetIFGs(); - /** - * Signals an ADC12MEMx overflow. - */ - async event void memOverflow(); - - /** - * Signals a Conversion time overflow. - */ - async event void conversionTimeOverflow(); - /** * Signals a conversion result. * @param iv ADC12 interrupt vector value 0x6, 0x8, ... , 0x24 @@ -137,5 +127,10 @@ interface HplAdc12 */ async command void startConversion(); + /** + * Enables conversion (sets the ENC bit). + */ + async command void enableConversion(); + }