Table of Contents

Method ReadDI0TriggerAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadDI0TriggerAsync(CancellationToken)

Asynchronously reads the contents of the DI0Trigger register.

public Task<TriggerConfig> ReadDI0TriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerConfig>

A task that represents the asynchronous read operation. The Result property contains the register payload.