#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ds18b20_max_conversion_micros(
bits: u8,
out_micros: *mut u32,
) -> PamojaStatusExpand description
Returns how long a DS18B20 conversion may take at a resolution.
§Returns
PamojaStatus::Ok on success, with *out_micros set to the datasheet’s
worst case, or PamojaStatus::InvalidArgument if bits is not 9, 10, 11,
or 12.
§Safety
out_micros must point to a writable uint32_t.