Struct mma8x5x::InterruptPinRoutes
source · [−]pub struct InterruptPinRoutes {
pub auto_sleep: InterruptSourcePinRoute,
pub fifo: InterruptSourcePinRoute,
pub transient: InterruptSourcePinRoute,
pub portrait_landscape: InterruptSourcePinRoute,
pub pulse: InterruptSourcePinRoute,
pub freefall_motion: InterruptSourcePinRoute,
pub data_ready: InterruptSourcePinRoute,
}
Expand description
Interrupt source pin route
Unavailable interrupt sources on a device are ignored.
Fields
auto_sleep: InterruptSourcePinRoute
Auto-sleep/wake interrupt pin route (INT1/INT2)
fifo: InterruptSourcePinRoute
FIFO interrupt pin route (INT1/INT2)
transient: InterruptSourcePinRoute
Acceleration transient interrupt pin route (INT1/INT2)
portrait_landscape: InterruptSourcePinRoute
Portrait/landscape orientation interrupt pin route (INT1/INT2)
pulse: InterruptSourcePinRoute
Single and/or double pulse detection interrupt pin route (INT1/INT2)
freefall_motion: InterruptSourcePinRoute
Freefall/motion interrupt pin route (INT1/INT2)
data_ready: InterruptSourcePinRoute
Data ready interrupt pin route (INT1/INT2)
Trait Implementations
sourceimpl Clone for InterruptPinRoutes
impl Clone for InterruptPinRoutes
sourcefn clone(&self) -> InterruptPinRoutes
fn clone(&self) -> InterruptPinRoutes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InterruptPinRoutes
impl Debug for InterruptPinRoutes
sourceimpl Default for InterruptPinRoutes
impl Default for InterruptPinRoutes
sourcefn default() -> InterruptPinRoutes
fn default() -> InterruptPinRoutes
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InterruptPinRoutes> for InterruptPinRoutes
impl PartialEq<InterruptPinRoutes> for InterruptPinRoutes
sourcefn eq(&self, other: &InterruptPinRoutes) -> bool
fn eq(&self, other: &InterruptPinRoutes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for InterruptPinRoutes
impl Eq for InterruptPinRoutes
impl StructuralEq for InterruptPinRoutes
impl StructuralPartialEq for InterruptPinRoutes
Auto Trait Implementations
impl RefUnwindSafe for InterruptPinRoutes
impl Send for InterruptPinRoutes
impl Sync for InterruptPinRoutes
impl Unpin for InterruptPinRoutes
impl UnwindSafe for InterruptPinRoutes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more