#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ads1115_config(
sensor: *const PamojaAds1115,
out_config: *mut PamojaAds1115Config,
) -> PamojaStatusExpand description
Copies the configuration an ADS1115 driver writes.
§Arguments
sensor- the driver.out_config- receives the configuration.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null argument.
§Safety
sensor must be a live handle or null, and out_config a writable pointer or null.