pub struct IntSourceReg(/* private fields */);Expand description
INT_SOURCE_REG (0x64)
Interrupt source register (R) Indicates interrupt event status and axis threshold crossing.
Implementations§
Trait Implementations§
Source§impl Clone for IntSourceReg
impl Clone for IntSourceReg
Source§fn clone(&self) -> IntSourceReg
fn clone(&self) -> IntSourceReg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntSourceReg
Source§impl Debug for IntSourceReg
impl Debug for IntSourceReg
Source§impl Default for IntSourceReg
impl Default for IntSourceReg
Source§impl From<IntSourceReg> for u8
impl From<IntSourceReg> for u8
Source§fn from(v: IntSourceReg) -> u8
fn from(v: IntSourceReg) -> u8
Converts to this type from the input type.
Source§impl From<u8> for IntSourceReg
impl From<u8> for IntSourceReg
Source§impl<B: BusOperation, T: DelayNs> RegisterOperation<Lis2mdl<B, T, OnState>, Error<<B as BusOperation>::Error>> for IntSourceReg
impl<B: BusOperation, T: DelayNs> RegisterOperation<Lis2mdl<B, T, OnState>, Error<<B as BusOperation>::Error>> for IntSourceReg
async fn read( sensor: &mut Lis2mdl<B, T, OnState>, ) -> Result<Self, Error<B::Error>>
async fn write( &self, sensor: &mut Lis2mdl<B, T, OnState>, ) -> Result<(), Error<B::Error>>
async fn read_more( sensor: &mut Lis2mdl<B, T, OnState>, buff: &mut [u8], ) -> Result<(), Error<B::Error>>
Auto Trait Implementations§
impl Freeze for IntSourceReg
impl RefUnwindSafe for IntSourceReg
impl Send for IntSourceReg
impl Sync for IntSourceReg
impl Unpin for IntSourceReg
impl UnsafeUnpin for IntSourceReg
impl UnwindSafe for IntSourceReg
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