pub enum DcV2BrickletFunction {
Show 36 variants
SetEnabled,
GetEnabled,
SetVelocity,
GetVelocity,
GetCurrentVelocity,
SetMotion,
GetMotion,
FullBrake,
SetDriveMode,
GetDriveMode,
SetPwmFrequency,
GetPwmFrequency,
GetPowerStatistics,
SetErrorLedConfig,
GetErrorLedConfig,
SetEmergencyShutdownCallbackConfiguration,
GetEmergencyShutdownCallbackConfiguration,
SetVelocityReachedCallbackConfiguration,
GetVelocityReachedCallbackConfiguration,
SetCurrentVelocityCallbackConfiguration,
GetCurrentVelocityCallbackConfiguration,
GetSpitfpErrorCount,
SetBootloaderMode,
GetBootloaderMode,
SetWriteFirmwarePointer,
WriteFirmware,
SetStatusLedConfig,
GetStatusLedConfig,
GetChipTemperature,
Reset,
WriteUid,
ReadUid,
GetIdentity,
CallbackEmergencyShutdown,
CallbackVelocityReached,
CallbackCurrentVelocity,
}
Variants§
SetEnabled
GetEnabled
SetVelocity
GetVelocity
GetCurrentVelocity
SetMotion
GetMotion
FullBrake
SetDriveMode
GetDriveMode
SetPwmFrequency
GetPwmFrequency
GetPowerStatistics
SetErrorLedConfig
GetErrorLedConfig
SetEmergencyShutdownCallbackConfiguration
GetEmergencyShutdownCallbackConfiguration
SetVelocityReachedCallbackConfiguration
GetVelocityReachedCallbackConfiguration
SetCurrentVelocityCallbackConfiguration
GetCurrentVelocityCallbackConfiguration
GetSpitfpErrorCount
SetBootloaderMode
GetBootloaderMode
SetWriteFirmwarePointer
WriteFirmware
SetStatusLedConfig
GetStatusLedConfig
GetChipTemperature
Reset
WriteUid
ReadUid
GetIdentity
CallbackEmergencyShutdown
CallbackVelocityReached
CallbackCurrentVelocity
Trait Implementations§
Source§impl From<DcV2BrickletFunction> for u8
impl From<DcV2BrickletFunction> for u8
Source§fn from(fun: DcV2BrickletFunction) -> Self
fn from(fun: DcV2BrickletFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DcV2BrickletFunction
impl RefUnwindSafe for DcV2BrickletFunction
impl Send for DcV2BrickletFunction
impl Sync for DcV2BrickletFunction
impl Unpin for DcV2BrickletFunction
impl UnwindSafe for DcV2BrickletFunction
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