1#ifndef __ANALOGSENSOR_H__
2#define __ANALOGSENSOR_H__
24 AnalogConversionPacket_s<N>
data;
29 const AnalogConversionPacket_s<N>&
get()
AnalogConversion_s convert()
Calculate sensor output and whether result is in sensor's defined bounds. DOES NOT SAMPLE.
AnalogConversionPacket_s< N > data
void sample()
Commands the underlying device to sample all channels and internally store the results.
const AnalogConversionPacket_s< N > & get()
Used by systems to get data out of this device when it's self-actualizing sampling & conversion.
void convert()
Performs unit conversions on all channels.