Enum rppal::spi::SlaveSelect [−][src]
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
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SlaveSelect
impl Send for SlaveSelect
impl Sync for SlaveSelect
impl Unpin for SlaveSelect
impl UnwindSafe for SlaveSelect
Blanket Implementations
Mutably borrows from an owned value. Read more