Class CreatePwm1PulseCountPayload
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
Represents an operator that creates a message payload that sets the number of pulses to generate for PWM1.
public class CreatePwm1PulseCountPayload
- Inheritance
-
CreatePwm1PulseCountPayload
- Derived
- Inherited Members
Properties
Pwm1PulseCount
Gets or sets the value that sets the number of pulses to generate for PWM1.
public ushort Pwm1PulseCount { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that sets the number of pulses to generate for PWM1.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Pwm1PulseCount register.
GetPayload()
Creates a message payload for the Pwm1PulseCount register.
public ushort GetPayload()
Returns
- ushort
The created message payload value.