Table of Contents

Method ReadResetDeviceAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadResetDeviceAsync(CancellationToken)

Asynchronously reads the contents of the ResetDevice register.

public Task<ResetFlags> ReadResetDeviceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ResetFlags>

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