Class CreateMotor0HoldCurrentReductionPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that configures the hold current reduction for motor 0.
public class CreateMotor0HoldCurrentReductionPayload
- Inheritance
-
CreateMotor0HoldCurrentReductionPayload
- Derived
- Inherited Members
Properties
Motor0HoldCurrentReduction
Gets or sets the value that configures the hold current reduction for motor 0.
public HoldCurrentReduction Motor0HoldCurrentReduction { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that configures the hold current reduction for motor 0.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Motor0HoldCurrentReduction register.
GetPayload()
Creates a message payload for the Motor0HoldCurrentReduction register.
public HoldCurrentReduction GetPayload()
Returns
- HoldCurrentReduction
The created message payload value.