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

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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.