Skip to main content

pamoja_tmp117_raw_from_micro_celsius

Function pamoja_tmp117_raw_from_micro_celsius 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_tmp117_raw_from_micro_celsius( micro_celsius: i32, ) -> i16
Expand description

Builds the TMP117 temperature register that decodes to a temperature.

§Returns

The nearest register value, saturating at the ends of the part’s range.