Table of Contents

Method ReadPwm2TriggerSourceAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwm2TriggerSourceAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2TriggerSource register.

public Task<TriggerSource> ReadPwm2TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerSource>

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