Struct lis3dh_async::Lis3dhSPI

source ·
pub struct Lis3dhSPI<SPI> { /* private fields */ }
Expand description

Marker to indicate SPI is used to communicate with the Lis3dh

Trait Implementations

Write a byte to the given register.

Read a byte from the given register.

Read from the registers for each of the 3 axes.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.