Table of Contents

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 CancellationToken

A 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.