Lines Matching defs:data
128 // Temp data is encoded in SMBPBI format. The 3 MSBs denote
151 // Power data is encoded as a 4-byte unsigned integer
168 int ret = i2cReadDataBytes(buf.data(), length);
173 // there is no value updated from HMC if reading data is all 0xff
175 if (checkInvalidReading(buf.data(), length))
198 int ret = i2cReadDataBytes(buf.data(), length);
237 args.msgs = msgs.data();
242 msgs[0].buf = cmd.data();
271 int SmbpbiSensor::readRawEEPROMData(double& data)
283 data = std::numeric_limits<double>::quiet_NaN();
291 data = convert2Temp(reinterpret_cast<uint8_t*>(&reading));
296 data = convert2Power(reinterpret_cast<uint8_t*>(&reading));
300 data = reading / 1000.0; // mJ to J (double)
304 data = reading; // Voltage
309 int SmbpbiSensor::readFloat64EEPROMData(double& data)
317 data = reading;
338 // and interpret sensor data based on it's value type.