Function celsius
Source pub fn celsius(raw: i16) -> f32
Expand description
Decodes a temperature, limit, or offset register to degrees Celsius.
One count is exactly 1/128 °C, so the result is exact in f32.
§Arguments
raw - the signed 16-bit register value.
§Returns
The temperature in degrees Celsius.