pub enum StepperBrickFunction {
Show 56 variants
SetMaxVelocity,
GetMaxVelocity,
GetCurrentVelocity,
SetSpeedRamping,
GetSpeedRamping,
FullBrake,
SetCurrentPosition,
GetCurrentPosition,
SetTargetPosition,
GetTargetPosition,
SetSteps,
GetSteps,
GetRemainingSteps,
SetStepMode,
GetStepMode,
DriveForward,
DriveBackward,
Stop,
GetStackInputVoltage,
GetExternalInputVoltage,
GetCurrentConsumption,
SetMotorCurrent,
GetMotorCurrent,
Enable,
Disable,
IsEnabled,
SetDecay,
GetDecay,
SetMinimumVoltage,
GetMinimumVoltage,
SetSyncRect,
IsSyncRect,
SetTimeBase,
GetTimeBase,
GetAllData,
SetAllDataPeriod,
GetAllDataPeriod,
SetSpitfpBaudrateConfig,
GetSpitfpBaudrateConfig,
GetSendTimeoutCount,
SetSpitfpBaudrate,
GetSpitfpBaudrate,
GetSpitfpErrorCount,
EnableStatusLed,
DisableStatusLed,
IsStatusLedEnabled,
GetProtocol1BrickletName,
GetChipTemperature,
Reset,
WriteBrickletPlugin,
ReadBrickletPlugin,
GetIdentity,
CallbackUnderVoltage,
CallbackPositionReached,
CallbackAllData,
CallbackNewState,
}
Variants§
SetMaxVelocity
GetMaxVelocity
GetCurrentVelocity
SetSpeedRamping
GetSpeedRamping
FullBrake
SetCurrentPosition
GetCurrentPosition
SetTargetPosition
GetTargetPosition
SetSteps
GetSteps
GetRemainingSteps
SetStepMode
GetStepMode
DriveForward
DriveBackward
Stop
GetStackInputVoltage
GetExternalInputVoltage
GetCurrentConsumption
SetMotorCurrent
GetMotorCurrent
Enable
Disable
IsEnabled
SetDecay
GetDecay
SetMinimumVoltage
GetMinimumVoltage
SetSyncRect
IsSyncRect
SetTimeBase
GetTimeBase
GetAllData
SetAllDataPeriod
GetAllDataPeriod
SetSpitfpBaudrateConfig
GetSpitfpBaudrateConfig
GetSendTimeoutCount
SetSpitfpBaudrate
GetSpitfpBaudrate
GetSpitfpErrorCount
EnableStatusLed
DisableStatusLed
IsStatusLedEnabled
GetProtocol1BrickletName
GetChipTemperature
Reset
WriteBrickletPlugin
ReadBrickletPlugin
GetIdentity
CallbackUnderVoltage
CallbackPositionReached
CallbackAllData
CallbackNewState
Trait Implementations§
source§impl From<StepperBrickFunction> for u8
impl From<StepperBrickFunction> for u8
source§fn from(fun: StepperBrickFunction) -> Self
fn from(fun: StepperBrickFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StepperBrickFunction
impl Send for StepperBrickFunction
impl Sync for StepperBrickFunction
impl Unpin for StepperBrickFunction
impl UnwindSafe for StepperBrickFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more