pub enum Bus {
Spi0,
Spi1,
Spi2,
Spi3,
Spi4,
Spi5,
Spi6,
}
Expand description
SPI buses.
The Raspberry Pi exposes up to five SPI buses, depending on the model and
your /boot/config.txt
configuration. More information can be found here.
Variants§
Trait Implementations§
impl Copy for Bus
impl Eq for Bus
impl StructuralEq for Bus
impl StructuralPartialEq for Bus
Auto Trait Implementations§
impl RefUnwindSafe for Bus
impl Send for Bus
impl Sync for Bus
impl Unpin for Bus
impl UnwindSafe for Bus
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