pub struct AltStatus(pub u16);Expand description
Current active accel/gyro configuration selection reported by the BMI323.
Tuple Fields§
§0: u16Implementations§
Source§impl AltStatus
impl AltStatus
Sourcepub const fn accel_uses_alternate(self) -> bool
pub const fn accel_uses_alternate(self) -> bool
Returns true when the accelerometer is currently using ALT_ACC_CONF.
Sourcepub const fn gyro_uses_alternate(self) -> bool
pub const fn gyro_uses_alternate(self) -> bool
Returns true when the gyroscope is currently using ALT_GYR_CONF.
Trait Implementations§
impl Copy for AltStatus
impl Eq for AltStatus
impl StructuralPartialEq for AltStatus
Auto Trait Implementations§
impl Freeze for AltStatus
impl RefUnwindSafe for AltStatus
impl Send for AltStatus
impl Sync for AltStatus
impl Unpin for AltStatus
impl UnsafeUnpin for AltStatus
impl UnwindSafe for AltStatus
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