/// <summary> /// Asynchronously writes an array of values to a 16-bit signed integer register with /// the specified address. /// </summary> /// <param name="address">The address of the register to write.</param> /// <param name="values">The values to be stored in the register.</param> /// <returns> /// The task object representing the asynchronous write operation. /// </returns> public async Task WriteInt16Async(int address, params short[] values) => await CommandAsync(HarpCommand.WriteInt16(address, values));
/// <summary> /// Asynchronously writes a value to a 16-bit signed integer register /// with the specified address. /// </summary> /// <param name="address">The address of the register to write.</param> /// <param name="value">The value to be stored in the register.</param> /// <returns> /// The task object representing the asynchronous write operation. /// </returns> public async Task WriteInt16Async(int address, short value) => await CommandAsync(HarpCommand.WriteInt16(address, value));