pub enum ImuBrickFunction {
Show 54 variants
GetAcceleration,
GetMagneticField,
GetAngularVelocity,
GetAllData,
GetOrientation,
GetQuaternion,
GetImuTemperature,
LedsOn,
LedsOff,
AreLedsOn,
SetAccelerationRange,
GetAccelerationRange,
SetMagnetometerRange,
GetMagnetometerRange,
SetConvergenceSpeed,
GetConvergenceSpeed,
SetCalibration,
GetCalibration,
SetAccelerationPeriod,
GetAccelerationPeriod,
SetMagneticFieldPeriod,
GetMagneticFieldPeriod,
SetAngularVelocityPeriod,
GetAngularVelocityPeriod,
SetAllDataPeriod,
GetAllDataPeriod,
SetOrientationPeriod,
GetOrientationPeriod,
SetQuaternionPeriod,
GetQuaternionPeriod,
OrientationCalculationOn,
OrientationCalculationOff,
IsOrientationCalculationOn,
SetSpitfpBaudrateConfig,
GetSpitfpBaudrateConfig,
GetSendTimeoutCount,
SetSpitfpBaudrate,
GetSpitfpBaudrate,
GetSpitfpErrorCount,
EnableStatusLed,
DisableStatusLed,
IsStatusLedEnabled,
GetProtocol1BrickletName,
GetChipTemperature,
Reset,
WriteBrickletPlugin,
ReadBrickletPlugin,
GetIdentity,
CallbackAcceleration,
CallbackMagneticField,
CallbackAngularVelocity,
CallbackAllData,
CallbackOrientation,
CallbackQuaternion,
}
Variants§
GetAcceleration
GetMagneticField
GetAngularVelocity
GetAllData
GetOrientation
GetQuaternion
GetImuTemperature
LedsOn
LedsOff
AreLedsOn
SetAccelerationRange
GetAccelerationRange
SetMagnetometerRange
GetMagnetometerRange
SetConvergenceSpeed
GetConvergenceSpeed
SetCalibration
GetCalibration
SetAccelerationPeriod
GetAccelerationPeriod
SetMagneticFieldPeriod
GetMagneticFieldPeriod
SetAngularVelocityPeriod
GetAngularVelocityPeriod
SetAllDataPeriod
GetAllDataPeriod
SetOrientationPeriod
GetOrientationPeriod
SetQuaternionPeriod
GetQuaternionPeriod
OrientationCalculationOn
OrientationCalculationOff
IsOrientationCalculationOn
SetSpitfpBaudrateConfig
GetSpitfpBaudrateConfig
GetSendTimeoutCount
SetSpitfpBaudrate
GetSpitfpBaudrate
GetSpitfpErrorCount
EnableStatusLed
DisableStatusLed
IsStatusLedEnabled
GetProtocol1BrickletName
GetChipTemperature
Reset
WriteBrickletPlugin
ReadBrickletPlugin
GetIdentity
CallbackAcceleration
CallbackMagneticField
CallbackAngularVelocity
CallbackAllData
CallbackOrientation
CallbackQuaternion
Trait Implementations§
Source§impl From<ImuBrickFunction> for u8
impl From<ImuBrickFunction> for u8
Source§fn from(fun: ImuBrickFunction) -> Self
fn from(fun: ImuBrickFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImuBrickFunction
impl RefUnwindSafe for ImuBrickFunction
impl Send for ImuBrickFunction
impl Sync for ImuBrickFunction
impl Unpin for ImuBrickFunction
impl UnwindSafe for ImuBrickFunction
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