X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftelosa%2Fchips%2Fs10871%2FHamamatsuS10871TsrP.nc;h=3e4f6abe728a5b131d94c3d4667ea712ec1928d4;hb=d32c29caca7c7ae33003c7e0a3a3d3b0ec3620cc;hp=940936281fc09922082629c2589fae24f3efd8f3;hpb=0fffffea892a816d115acf2fc2d39268f16cc0ea;p=tinyos-2.x.git diff --git a/tos/platforms/telosa/chips/s10871/HamamatsuS10871TsrP.nc b/tos/platforms/telosa/chips/s10871/HamamatsuS10871TsrP.nc index 94093628..3e4f6abe 100644 --- a/tos/platforms/telosa/chips/s10871/HamamatsuS10871TsrP.nc +++ b/tos/platforms/telosa/chips/s10871/HamamatsuS10871TsrP.nc @@ -40,6 +40,7 @@ */ module HamamatsuS10871TsrP { + provides interface DeviceMetadata; provides interface AdcConfigure; } implementation { @@ -54,6 +55,8 @@ implementation { sampcon_ssel: SAMPCON_SOURCE_SMCLK, sampcon_id: SAMPCON_CLOCK_DIV_1 }; + + command uint8_t DeviceMetadata.getSignificantBits() { return 12; } async command const msp430adc12_channel_config_t* AdcConfigure.getConfiguration() { return &config;