Table of Contents

Struct OperationControlPayload

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Represents the payload of the OperationControl register.

public struct OperationControlPayload
Inherited Members

Constructors

OperationControlPayload(OperationMode, bool, bool, LedState, LedState, EnableFlag)

Initializes a new instance of the OperationControlPayload structure.

public OperationControlPayload(OperationMode operationMode, bool dumpRegisters, bool muteReplies, LedState visualIndicators, LedState operationLed, EnableFlag heartbeat)

Parameters

operationMode OperationMode

Specifies the operation mode of the device.

dumpRegisters bool

Specifies whether the device should report the content of all registers on initialization.

muteReplies bool

Specifies whether the replies to all commands will be muted, i.e. not sent by the device.

visualIndicators LedState

Specifies the state of all visual indicators on the device.

operationLed LedState

Specifies whether the device state LED should report the operation mode of the device.

heartbeat EnableFlag

Specifies whether the device should report the content of the seconds register each second.

Fields

DumpRegisters

Specifies whether the device should report the content of all registers on initialization.

public bool DumpRegisters

Field Value

bool

Heartbeat

Specifies whether the device should report the content of the seconds register each second.

public EnableFlag Heartbeat

Field Value

EnableFlag

MuteReplies

Specifies whether the replies to all commands will be muted, i.e. not sent by the device.

public bool MuteReplies

Field Value

bool

OperationLed

Specifies whether the device state LED should report the operation mode of the device.

public LedState OperationLed

Field Value

LedState

OperationMode

Specifies the operation mode of the device.

public OperationMode OperationMode

Field Value

OperationMode

VisualIndicators

Specifies the state of all visual indicators on the device.

public LedState VisualIndicators

Field Value

LedState