#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ads1115_config_from_bits(
bits: u16,
out_config: *mut PamojaAds1115Config,
) -> PamojaStatusExpand description
Parses a 16-bit ADS1115 configuration register value.
§Returns
PamojaStatus::Ok, with *out_config filled in. Every register value
decodes, so this fails only on a null pointer.
§Safety
out_config must point to a writable PamojaAds1115Config.