Struct lis2dh12::DataStatus
source · pub struct DataStatus {
pub zyxor: bool,
pub xyzor: (bool, bool, bool),
pub zyxda: bool,
pub xyzda: (bool, bool, bool),
}
Expand description
Data status structure, decoded from STATUS_REG register
Fields§
§zyxor: bool
ZYXOR bit
xyzor: (bool, bool, bool)
(XOR, YOR, ZOR) bits
zyxda: bool
ZYXDA bit
xyzda: (bool, bool, bool)
(XDA, YDA, ZDA) bits
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DataStatus
impl Send for DataStatus
impl Sync for DataStatus
impl Unpin for DataStatus
impl UnwindSafe for DataStatus
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