Пример #1
0
 /// <summary>
 /// Asynchronously writes an array of values to a 32-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 WriteUInt32Async(int address, params uint[] values) => await CommandAsync(HarpCommand.WriteUInt32(address, values));
Пример #2
0
 /// <summary>
 /// Asynchronously writes a value to a 32-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 WriteUInt32Async(int address, uint value) => await CommandAsync(HarpCommand.WriteUInt32(address, value));