#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_modbus_read_input_registers_reply(
address: u8,
values: *const u16,
values_len: usize,
out_buffer: *mut *mut PamojaBuffer,
) -> PamojaStatusExpand description
Builds the reply a device sends to a read-input-registers request.
§Returns
PamojaStatus::Ok on success, with *out_buffer set to a new buffer handle
holding the frame.
§Safety
values must point to at least values_len readable uint16_t, and out_buffer
to a writable *mut PamojaBuffer.