Struct lsm303agr::interface::SpiInterface [−][src]
pub struct SpiInterface<SPI, CSXL, CSMAG> { /* fields omitted */ }
Expand description
SPI interface
Trait Implementations
Read an u8 accelerometer register
Read an u8 magnetometer register
Read 3 u16 accelerometer registers
Auto Trait Implementations
impl<SPI, CSXL, CSMAG> RefUnwindSafe for SpiInterface<SPI, CSXL, CSMAG> where
CSMAG: RefUnwindSafe,
CSXL: RefUnwindSafe,
SPI: RefUnwindSafe,
impl<SPI, CSXL, CSMAG> Send for SpiInterface<SPI, CSXL, CSMAG> where
CSMAG: Send,
CSXL: Send,
SPI: Send,
impl<SPI, CSXL, CSMAG> Sync for SpiInterface<SPI, CSXL, CSMAG> where
CSMAG: Sync,
CSXL: Sync,
SPI: Sync,
impl<SPI, CSXL, CSMAG> Unpin for SpiInterface<SPI, CSXL, CSMAG> where
CSMAG: Unpin,
CSXL: Unpin,
SPI: Unpin,
impl<SPI, CSXL, CSMAG> UnwindSafe for SpiInterface<SPI, CSXL, CSMAG> where
CSMAG: UnwindSafe,
CSXL: UnwindSafe,
SPI: UnwindSafe,