Skip to main content

pamoja_tmp117_nano_celsius

Function pamoja_tmp117_nano_celsius 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_tmp117_nano_celsius(raw: i16) -> i64
Expand description

Converts a raw TMP117 temperature register to nano-degrees Celsius.

§Returns

The temperature, exact in integer arithmetic at the part’s 7.8125 m°C step.