#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_hdc1080_init(
sensor: *mut PamojaHdc1080,
) -> PamojaStatusExpand description
Checks the part is an HDC1080 and writes the configuration.
§Arguments
sensor- the driver.
§Returns
PamojaStatus::Ok; PamojaStatus::InvalidArgument for a null driver;
PamojaStatus::Io when the bus fails; or PamojaStatus::Codec when either id register
is not an HDC1080’s.
§Safety
sensor must be a live handle or null.