[−][src]Struct bno080::interface::spi::SpiControlLines
Encapsulates all the lines required to operate this sensor
- SCK: clock line from master
- MISO: Data input from the sensor to the master
- MOSI: Output from the master to the sensor
- CSN: chip select line that selects the device on the shared SPI bus
- HINTN: Hardware Interrupt. Sensor uses this to indicate it had data available for read
- RSTN: Reset the device
Fields
spi: SPI
csn: CSN
hintn: IN
reset: RSTN
Auto Trait Implementations
impl<SPI, CSN, IN, RSTN> Send for SpiControlLines<SPI, CSN, IN, RSTN> where
CSN: Send,
IN: Send,
RSTN: Send,
SPI: Send,
CSN: Send,
IN: Send,
RSTN: Send,
SPI: Send,
impl<SPI, CSN, IN, RSTN> Sync for SpiControlLines<SPI, CSN, IN, RSTN> where
CSN: Sync,
IN: Sync,
RSTN: Sync,
SPI: Sync,
CSN: Sync,
IN: Sync,
RSTN: Sync,
SPI: Sync,
impl<SPI, CSN, IN, RSTN> Unpin for SpiControlLines<SPI, CSN, IN, RSTN> where
CSN: Unpin,
IN: Unpin,
RSTN: Unpin,
SPI: Unpin,
CSN: Unpin,
IN: Unpin,
RSTN: Unpin,
SPI: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,