/// <summary> /// Asynchronously writes an array of values to a 16-bit unsigned 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 WriteUInt16Async(int address, params ushort[] values) => await CommandAsync(HarpCommand.WriteUInt16(address, values));
/// <summary> /// Asynchronously writes a value to a 16-bit unsigned 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 WriteUInt16Async(int address, ushort value) => await CommandAsync(HarpCommand.WriteUInt16(address, value));