+ /** Function to read the sensor **/
+ ReadFn read;
+ /** Function to initialise the sensor **/
+ InitFn init;
+ /** Function to cleanup the sensor **/
+ CleanFn cleanup;
+ /** Function to sanity check the sensor readings **/
+ SanityFn sanity;
+ /** Human readable name of the sensor **/
+ const char * name;
+ /** Sampling rate **/
+ struct timespec sample_time;
+ /** Number of averages per sample **/
+ int averages;
+ /** Current data **/
+ DataPoint current_data;
+
+ /** Summed data **/
+ DataPoint averaged_data;
+ /** Number of points read so far before applying average **/
+ int num_read;
+
+
+