[][src]Struct kxcj9::InterruptInfo

pub struct InterruptInfo {
    pub data_ready: bool,
    pub wake_up: bool,
    pub wake_up_x_negative: bool,
    pub wake_up_x_positive: bool,
    pub wake_up_y_negative: bool,
    pub wake_up_y_positive: bool,
    pub wake_up_z_negative: bool,
    pub wake_up_z_positive: bool,
}

Interrupt source information

Fields

data_ready: bool

New acceleration data is available

wake_up: bool

Wake-up motion detected

wake_up_x_negative: bool

Wake-up X-axis negative direction motion detected

wake_up_x_positive: bool

Wake-up X-axis positive direction motion detected

wake_up_y_negative: bool

Wake-up Y-axis negative direction motion detected

wake_up_y_positive: bool

Wake-up Y-axis positive direction motion detected

wake_up_z_negative: bool

Wake-up Z-axis negative direction motion detected

wake_up_z_positive: bool

Wake-up Z-axis positive direction motion detected

Trait Implementations

impl PartialEq<InterruptInfo> for InterruptInfo[src]

impl Debug for InterruptInfo[src]

impl Clone for InterruptInfo[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for InterruptInfo[src]

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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