Method ReadUInt16Async
ReadUInt16Async(int, CancellationToken)
Asynchronously reads the value of a 16-bit unsigned integer register with the specified address.
public Task<ushort> ReadUInt16Async(int address, CancellationToken cancellationToken = default)
Parameters
address
intThe address of the register to read.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.