Skip to main content

pamoja_hdc1080_temperature_register

Function pamoja_hdc1080_temperature_register 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_hdc1080_temperature_register( milli_celsius: i32, ) -> u16
Expand description

Builds the HDC1080 temperature register that decodes to a temperature.

§Returns

The 14-bit code in bits 15:2, clamped to the part’s range.