Table of Contents

Method ReadPwm1PulseCountAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwm1PulseCountAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1PulseCount register.

public Task<ushort> ReadPwm1PulseCountAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

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