[][src]Struct lis3dsh::Status

pub struct 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

impl Send for Status

impl Sync for Status

impl Unpin for Status

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.