Enum stm32_metapac::spi::vals::Iscfg
#[repr(u8)]pub enum Iscfg {
SLAVETX = 0,
SLAVERX = 1,
MASTERTX = 2,
MASTERRX = 3,
}
Variants§
SLAVETX = 0
Slave - transmit
SLAVERX = 1
Slave - receive
MASTERTX = 2
Master - transmit
MASTERRX = 3
Master - receive
Implementations§
Trait Implementations§
§impl Ord for Iscfg
impl Ord for Iscfg
§impl PartialOrd for Iscfg
impl PartialOrd for Iscfg
§fn partial_cmp(&self, other: &Iscfg) -> Option<Ordering>
fn partial_cmp(&self, other: &Iscfg) -> 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 Iscfg
impl Eq for Iscfg
impl StructuralEq for Iscfg
impl StructuralPartialEq for Iscfg
Auto Trait Implementations§
impl RefUnwindSafe for Iscfg
impl Send for Iscfg
impl Sync for Iscfg
impl Unpin for Iscfg
impl UnwindSafe for Iscfg
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