pub enum DcBrickFunction {
Show 39 variants
SetVelocity,
GetVelocity,
GetCurrentVelocity,
SetAcceleration,
GetAcceleration,
SetPwmFrequency,
GetPwmFrequency,
FullBrake,
GetStackInputVoltage,
GetExternalInputVoltage,
GetCurrentConsumption,
Enable,
Disable,
IsEnabled,
SetMinimumVoltage,
GetMinimumVoltage,
SetDriveMode,
GetDriveMode,
SetCurrentVelocityPeriod,
GetCurrentVelocityPeriod,
SetSpitfpBaudrateConfig,
GetSpitfpBaudrateConfig,
GetSendTimeoutCount,
SetSpitfpBaudrate,
GetSpitfpBaudrate,
GetSpitfpErrorCount,
EnableStatusLed,
DisableStatusLed,
IsStatusLedEnabled,
GetProtocol1BrickletName,
GetChipTemperature,
Reset,
WriteBrickletPlugin,
ReadBrickletPlugin,
GetIdentity,
CallbackUnderVoltage,
CallbackEmergencyShutdown,
CallbackVelocityReached,
CallbackCurrentVelocity,
}
Variants§
SetVelocity
GetVelocity
GetCurrentVelocity
SetAcceleration
GetAcceleration
SetPwmFrequency
GetPwmFrequency
FullBrake
GetStackInputVoltage
GetExternalInputVoltage
GetCurrentConsumption
Enable
Disable
IsEnabled
SetMinimumVoltage
GetMinimumVoltage
SetDriveMode
GetDriveMode
SetCurrentVelocityPeriod
GetCurrentVelocityPeriod
SetSpitfpBaudrateConfig
GetSpitfpBaudrateConfig
GetSendTimeoutCount
SetSpitfpBaudrate
GetSpitfpBaudrate
GetSpitfpErrorCount
EnableStatusLed
DisableStatusLed
IsStatusLedEnabled
GetProtocol1BrickletName
GetChipTemperature
Reset
WriteBrickletPlugin
ReadBrickletPlugin
GetIdentity
CallbackUnderVoltage
CallbackEmergencyShutdown
CallbackVelocityReached
CallbackCurrentVelocity
Trait Implementations§
Source§impl From<DcBrickFunction> for u8
impl From<DcBrickFunction> for u8
Source§fn from(fun: DcBrickFunction) -> Self
fn from(fun: DcBrickFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DcBrickFunction
impl RefUnwindSafe for DcBrickFunction
impl Send for DcBrickFunction
impl Sync for DcBrickFunction
impl Unpin for DcBrickFunction
impl UnwindSafe for DcBrickFunction
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