pub enum StepperBrickFunction {
Show 54 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,
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
GetIdentity
CallbackUnderVoltage
CallbackPositionReached
CallbackAllData
CallbackNewState
Trait Implementations
sourceimpl From<StepperBrickFunction> for u8
impl From<StepperBrickFunction> for u8
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more