Table of Contents

Method ReadPwmRiseEventAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwmRiseEventAsync(CancellationToken)

Asynchronously reads the contents of the PwmRiseEvent register.

public Task<PwmChannels> ReadPwmRiseEventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmChannels>

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