pub struct AllInterruptSources {
pub sleep_change_interrupt: bool,
pub six_d_interrupt: bool,
pub double_tap_interrupt: bool,
pub single_tap_interrupt: bool,
pub wake_up_interrupt: bool,
pub free_fall_interrupt: bool,
}Expand description
Struct representation of the All Interrupt Sources register
This register is a combination of all interrupt sources
Fields§
§sleep_change_interrupt: boolSleep change interrupt
false: no sleep change interrupt
true: sleep change interrupt
six_d_interrupt: bool6D interrupt
false: no 6D interrupt
true: 6D interrupt
double_tap_interrupt: boolDouble-tap interrupt
false: no double-tap interrupt
true: double-tap interrupt
single_tap_interrupt: boolSingle-tap interrupt
false: no single-tap interrupt
true: single-tap interrupt
wake_up_interrupt: boolWake-up interrupt
false: no wake-up interrupt
true: wake-up interrupt
free_fall_interrupt: boolFree-fall interrupt
false: no free-fall interrupt
true: free-fall interrupt
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AllInterruptSources
impl RefUnwindSafe for AllInterruptSources
impl Send for AllInterruptSources
impl Sync for AllInterruptSources
impl Unpin for AllInterruptSources
impl UnwindSafe for AllInterruptSources
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