#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_modbus_frame_gap_nanos(
settings: PamojaSerialSettings,
out_nanos: *mut u64,
) -> PamojaStatusExpand description
Returns the silence that separates two frames at a line’s speed and format: 3.5 characters, and a fixed 1750 microseconds above 19200 baud.
§Arguments
settings- the line’s speed and character format.out_nanos- receives the silence, in nanoseconds.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null out_nanos or
settings the port does not have.
§Safety
out_nanos must be a writable pointer or null.