#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_opt3001_configuration(
sensor: *const PamojaOpt3001,
out_config: *mut PamojaOpt3001Config,
) -> PamojaStatusExpand description
Copies the configuration an OPT3001 driver writes, with the part in shutdown.
§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.