struct
Matter::Cluster::Definitions::PulseWidthModulation::MoveRequest
- Matter::Cluster::Definitions::PulseWidthModulation::MoveRequest
- Struct
- Value
- Object
Overview
Input to the PulseWidthModulation move command
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/pulse_width_modulation.crConstructors
Instance Method Summary
- #mask : UInt8
- #mask=(mask : UInt8)
- #move_mode : MoveMode
- #move_mode=(move_mode : MoveMode)
- #override : UInt8
- #override=(override : UInt8)
-
#rate : UInt8 | Nil
The Rate field specifies the rate of movement in units per second.
-
#rate=(rate : UInt8 | Nil)
The Rate field specifies the rate of movement in units per second.
Constructor Detail
Instance Method Detail
The Rate field specifies the rate of movement in units per second. The actual rate of movement SHOULD be as close to this rate as the device is able. If the Rate field is equal to null, then the value in DefaultMoveRate attribute shall be used. However, if the Rate field is equal to null and the DefaultMoveRate attribute is not supported, or if the Rate field is equal to null and the value of the DefaultMoveRate attribute is equal to null, then the device SHOULD move as fast as it is able. If the device is not able to move at a variable rate, this field may be disregarded.
The Rate field specifies the rate of movement in units per second. The actual rate of movement SHOULD be as close to this rate as the device is able. If the Rate field is equal to null, then the value in DefaultMoveRate attribute shall be used. However, if the Rate field is equal to null and the DefaultMoveRate attribute is not supported, or if the Rate field is equal to null and the value of the DefaultMoveRate attribute is equal to null, then the device SHOULD move as fast as it is able. If the device is not able to move at a variable rate, this field may be disregarded.