Functions
-
TemperatureCelsius CodeToTempCelsius (uint32_t temp_code, uint32_t trim_info)Calculate a temperature value from a temperature code.
The unit of the temperature is degree Celsius.
Defined at line 25 of file ../../src/devices/temperature/drivers/aml-trip/util.cc
-
uint32_t TempCelsiusToCode (TemperatureCelsius temp_cbool trenduint32_t trim_info)Tsensor treats temperature as a mapped temperature code.
The temperature is converted differently depending on the calibration type.
Defined at line 44 of file ../../src/devices/temperature/drivers/aml-trip/util.cc