Enum rppal::spi::SlaveSelect[][src]

pub enum SlaveSelect {
    Ss0,
    Ss1,
    Ss2,
    Ss3,
    Ss4,
    Ss5,
    Ss6,
    Ss7,
    Ss8,
    Ss9,
    Ss10,
    Ss11,
    Ss12,
    Ss13,
    Ss14,
    Ss15,
}

Slave Select pins.

Slave Select is used to signal which slave device should pay attention to the SPI bus. Slave Select (SS) is the more commonly used name, but it's also known as Chip Select (CS) or Chip Enable (CE). Throughout the Raspberry Pi's documentation, config files and BCM2835 datasheet, multiple different names are used. Any pins referred to as CE0, CE1, and CE2 or CS0, CS1, and CS2 are equivalent to Ss0, Ss1, and Ss2.

The number of available Slave Select pins for the selected SPI bus depends on your /boot/config.txt configuration. More information can be found here.

Variants

Ss0
Ss1
Ss2
Ss3
Ss4
Ss5
Ss6
Ss7
Ss8
Ss9
Ss10
Ss11
Ss12
Ss13
Ss14
Ss15

Trait Implementations

impl Clone for SlaveSelect[src]

impl Copy for SlaveSelect[src]

impl Debug for SlaveSelect[src]

impl Display for SlaveSelect[src]

impl Eq for SlaveSelect[src]

impl PartialEq<SlaveSelect> for SlaveSelect[src]

impl StructuralEq for SlaveSelect[src]

impl StructuralPartialEq for SlaveSelect[src]

Auto Trait Implementations

impl RefUnwindSafe for SlaveSelect[src]

impl Send for SlaveSelect[src]

impl Sync for SlaveSelect[src]

impl Unpin for SlaveSelect[src]

impl UnwindSafe for SlaveSelect[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.