Struct ds323x::interface::SpiInterface
source · pub struct SpiInterface<SPI, CS> { /* private fields */ }
Expand description
SPI interface
Trait Implementations§
source§impl<SPI: Default, CS: Default> Default for SpiInterface<SPI, CS>
impl<SPI: Default, CS: Default> Default for SpiInterface<SPI, CS>
source§fn default() -> SpiInterface<SPI, CS>
fn default() -> SpiInterface<SPI, CS>
Returns the “default value” for a type. Read more
source§impl<SPI, CS, CommE, PinE> ReadData for SpiInterface<SPI, CS>where
SPI: Transfer<u8, Error = CommE>,
CS: OutputPin<Error = PinE>,
impl<SPI, CS, CommE, PinE> ReadData for SpiInterface<SPI, CS>where SPI: Transfer<u8, Error = CommE>, CS: OutputPin<Error = PinE>,
Auto Trait Implementations§
impl<SPI, CS> RefUnwindSafe for SpiInterface<SPI, CS>where CS: RefUnwindSafe, SPI: RefUnwindSafe,
impl<SPI, CS> Send for SpiInterface<SPI, CS>where CS: Send, SPI: Send,
impl<SPI, CS> Sync for SpiInterface<SPI, CS>where CS: Sync, SPI: Sync,
impl<SPI, CS> Unpin for SpiInterface<SPI, CS>where CS: Unpin, SPI: Unpin,
impl<SPI, CS> UnwindSafe for SpiInterface<SPI, CS>where CS: UnwindSafe, SPI: UnwindSafe,
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