コード例 #1
0
ファイル: AsyncDevice.cs プロジェクト: bonsai-rx/harp
 /// <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));
コード例 #2
0
ファイル: AsyncDevice.cs プロジェクト: bonsai-rx/harp
 /// <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));