#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_modbus_write_multiple_registers(
address: u8,
start: u16,
values: *const u16,
count: usize,
out_buffer: *mut *mut PamojaBuffer,
) -> PamojaStatusExpand description
Builds a write-multiple-registers request frame (function 0x10).
§Returns
PamojaStatus::Ok on success, with *out_buffer set to a new buffer handle
holding the frame, or PamojaStatus::InvalidArgument if count is zero or
beyond what one request may carry.
§Safety
values must point to at least count readable uint16 values, or be null
when count is 0, and out_buffer must point to a writable
*mut PamojaBuffer.