pub enum ServoBrickFunction {
Show 47 variants
Enable,
Disable,
IsEnabled,
SetPosition,
GetPosition,
GetCurrentPosition,
SetVelocity,
GetVelocity,
GetCurrentVelocity,
SetAcceleration,
GetAcceleration,
SetOutputVoltage,
GetOutputVoltage,
SetPulseWidth,
GetPulseWidth,
SetDegree,
GetDegree,
SetPeriod,
GetPeriod,
GetServoCurrent,
GetOverallCurrent,
GetStackInputVoltage,
GetExternalInputVoltage,
SetMinimumVoltage,
GetMinimumVoltage,
EnablePositionReachedCallback,
DisablePositionReachedCallback,
IsPositionReachedCallbackEnabled,
EnableVelocityReachedCallback,
DisableVelocityReachedCallback,
IsVelocityReachedCallbackEnabled,
SetSpitfpBaudrateConfig,
GetSpitfpBaudrateConfig,
GetSendTimeoutCount,
SetSpitfpBaudrate,
GetSpitfpBaudrate,
GetSpitfpErrorCount,
EnableStatusLed,
DisableStatusLed,
IsStatusLedEnabled,
GetProtocol1BrickletName,
GetChipTemperature,
Reset,
GetIdentity,
CallbackUnderVoltage,
CallbackPositionReached,
CallbackVelocityReached,
}
Variants
Enable
Disable
IsEnabled
SetPosition
GetPosition
GetCurrentPosition
SetVelocity
GetVelocity
GetCurrentVelocity
SetAcceleration
GetAcceleration
SetOutputVoltage
GetOutputVoltage
SetPulseWidth
GetPulseWidth
SetDegree
GetDegree
SetPeriod
GetPeriod
GetServoCurrent
GetOverallCurrent
GetStackInputVoltage
GetExternalInputVoltage
SetMinimumVoltage
GetMinimumVoltage
EnablePositionReachedCallback
DisablePositionReachedCallback
IsPositionReachedCallbackEnabled
EnableVelocityReachedCallback
DisableVelocityReachedCallback
IsVelocityReachedCallbackEnabled
SetSpitfpBaudrateConfig
GetSpitfpBaudrateConfig
GetSendTimeoutCount
SetSpitfpBaudrate
GetSpitfpBaudrate
GetSpitfpErrorCount
EnableStatusLed
DisableStatusLed
IsStatusLedEnabled
GetProtocol1BrickletName
GetChipTemperature
Reset
GetIdentity
CallbackUnderVoltage
CallbackPositionReached
CallbackVelocityReached
Trait Implementations
sourceimpl From<ServoBrickFunction> for u8
impl From<ServoBrickFunction> for u8
sourcefn from(fun: ServoBrickFunction) -> Self
fn from(fun: ServoBrickFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ServoBrickFunction
impl Send for ServoBrickFunction
impl Sync for ServoBrickFunction
impl Unpin for ServoBrickFunction
impl UnwindSafe for ServoBrickFunction
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