Enum stm32_metapac::spi::vals::Sp
#[repr(u8)]pub enum Sp {
MOTOROLA = 0,
TI = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
MOTOROLA = 0
Motorola SPI protocol
TI = 1
TI SPI protocol
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Sp
impl Ord for Sp
§impl PartialOrd for Sp
impl PartialOrd for Sp
§fn partial_cmp(&self, other: &Sp) -> Option<Ordering>
fn partial_cmp(&self, other: &Sp) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Sp
impl Eq for Sp
impl StructuralEq for Sp
impl StructuralPartialEq for Sp
Auto Trait Implementations§
impl RefUnwindSafe for Sp
impl Send for Sp
impl Sync for Sp
impl Unpin for Sp
impl UnwindSafe for Sp
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