Method ReadDigitalInputsSamplingModeAsync
- Namespace
- Harp.Synchronizer
- Assembly
- Harp.Synchronizer.dll
ReadDigitalInputsSamplingModeAsync(CancellationToken)
Asynchronously reads the contents of the DigitalInputsSamplingMode register.
public Task<DigitalInputsSamplingConfig> ReadDigitalInputsSamplingModeAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalInputsSamplingConfig>
A task that represents the asynchronous read operation. The Result property contains the register payload.