Table of Contents

Method WriteResetDeviceAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteResetDeviceAsync(ResetFlags, CancellationToken)

Asynchronously sends a command to reset the device and restore or save non-volatile registers.

public Task WriteResetDeviceAsync(ResetFlags reset, CancellationToken cancellationToken = default)

Parameters

reset ResetFlags

A value specifying whether to restore or save non-volatile registers.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous reset operation.