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
impl Copy for Iscfg
impl Eq for Iscfg
impl StructuralPartialEq for Iscfg
Auto Trait Implementations§
impl Freeze for Iscfg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)