Table of Contents

Class CreateEncoderModePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that configures the operation mode of the quadrature encoder.

public class CreateEncoderModePayload
Inheritance
CreateEncoderModePayload
Derived
Inherited Members

Properties

EncoderMode

Gets or sets the value that configures the operation mode of the quadrature encoder.

public EncoderModeConfig EncoderMode { get; set; }

Property Value

EncoderModeConfig

Methods

GetMessage(MessageType)

Creates a message that configures the operation mode of the quadrature encoder.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the EncoderMode register.

GetPayload()

Creates a message payload for the EncoderMode register.

public EncoderModeConfig GetPayload()

Returns

EncoderModeConfig

The created message payload value.