[−][src]Struct lis3dsh::Status
Representation of the STATUS
register on the LIS3DSH
Implementations
impl Status
[src]
pub fn zyxor(&self) -> bool
[src]
Checks to see if the ZYXOR
bit is set in the STATUS
register
When this bit is set it indicates that some of the data has been overwritten before it was able to be read
pub fn zor(&self) -> bool
[src]
Checks to see if the ZOR
bit is set in the STATUS
register
When this bit is set it indicates that the Z axis data has been overwritten before it was able to be read
pub fn yor(&self) -> bool
[src]
Checks to see if the YOR
bit is set in the STATUS
register
When this bit is set it indicates that the Y axis data has been overwritten before it was able to be read
pub fn xor(&self) -> bool
[src]
Checks to see if the XOR
bit is set in the STATUS
register
When this bit is set it indicates that the X axis data has been overwritten before it was able to be read
pub fn zyxda(&self) -> bool
[src]
Checks to see if the ZYXDA
bit is set in the STATUS
register
When this bit is set it indicates that new data is available
pub fn zda(&self) -> bool
[src]
Checks to see if the ZDA
bit is set in the STATUS
register
When this bit is set it indicates that new Z axis data is available
pub fn yda(&self) -> bool
[src]
Checks to see if the YDA
bit is set in the STATUS
register
When this bit is set it indicates that new Y axis data is available
pub fn xda(&self) -> bool
[src]
Checks to see if the XDA
bit is set in the STATUS
register
When this bit is set it indicates that new X axis data is available
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,