Method ReadInt32Async
ReadInt32Async(int, CancellationToken)
Asynchronously reads the value of a 32-bit signed integer register with the specified address.
public Task<int> ReadInt32Async(int address, CancellationToken cancellationToken = default)
Parameters
addressintThe address of the register to read.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.