Enum rppal::spi::SlaveSelect [−][src]
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
impl Clone for SlaveSelect
[src]
fn clone(&self) -> SlaveSelect
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &SlaveSelect) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,