pub struct IntMap {Show 15 fields
pub no_motion: IntPin,
pub any_motion: IntPin,
pub flat: IntPin,
pub orientation: IntPin,
pub step_detector: IntPin,
pub step_counter: IntPin,
pub sig_motion: IntPin,
pub tilt: IntPin,
pub tap: IntPin,
pub err_status: IntPin,
pub temp_data_ready: IntPin,
pub gyro_data_ready: IntPin,
pub accel_data_ready: IntPin,
pub fifo_watermark: IntPin,
pub fifo_full: IntPin,
}Expand description
Bit layout
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
╰───╯ ╰───╯ ╰───╯ ╰───╯ ╰───╯ ╰───╯ ° ° ╰───╯
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
╰───╯ ╰───╯ ╰───╯ ╰───╯ ╰───╯ ╰───╯ ╰───╯ ╰───╯Fields§
§no_motion: IntPin§any_motion: IntPin§flat: IntPin§orientation: IntPin§step_detector: IntPin§step_counter: IntPin§sig_motion: IntPin§tilt: IntPin§tap: IntPin§err_status: IntPin§temp_data_ready: IntPin§gyro_data_ready: IntPin§accel_data_ready: IntPin§fifo_watermark: IntPin§fifo_full: IntPinTrait Implementations§
impl Copy for IntMap
impl Eq for IntMap
impl StructuralPartialEq for IntMap
Auto Trait Implementations§
impl Freeze for IntMap
impl RefUnwindSafe for IntMap
impl Send for IntMap
impl Sync for IntMap
impl Unpin for IntMap
impl UnsafeUnpin for IntMap
impl UnwindSafe for IntMap
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