#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lora_plan_mask_control(
plan: *const PamojaLoraPlan,
value: u8,
out_control: *mut PamojaLoraMaskControl,
) -> PamojaStatusExpand description
Reads what one ChMaskCntl value does on a plan.
§Arguments
plan- the plan to read.value- theChMaskCntlvalue, 0 to 7.out_control- set to the control on success.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument if either pointer is null or value is past 7.
§Safety
plan must be a live plan handle and out_control must point at writable storage for
one PamojaLoraMaskControl.