pub struct ErrorWord(pub u16);Expand description
Decoded contents of the BMI323 ERR_REG register.
Tuple Fields§
§0: u16Implementations§
Source§impl ErrorWord
impl ErrorWord
Sourcepub const fn accel_conf_error(self) -> bool
pub const fn accel_conf_error(self) -> bool
Returns true if the current accelerometer configuration is invalid.
Sourcepub const fn gyro_conf_error(self) -> bool
pub const fn gyro_conf_error(self) -> bool
Returns true if the current gyroscope configuration is invalid.
Trait Implementations§
impl Copy for ErrorWord
impl Eq for ErrorWord
impl StructuralPartialEq for ErrorWord
Auto Trait Implementations§
impl Freeze for ErrorWord
impl RefUnwindSafe for ErrorWord
impl Send for ErrorWord
impl Sync for ErrorWord
impl Unpin for ErrorWord
impl UnsafeUnpin for ErrorWord
impl UnwindSafe for ErrorWord
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