Enum stm32_metapac::spi::vals::I2scfg
#[repr(u8)]pub enum I2scfg {
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 I2scfg
impl Ord for I2scfg
§impl PartialOrd for I2scfg
impl PartialOrd for I2scfg
impl Copy for I2scfg
impl Eq for I2scfg
impl StructuralPartialEq for I2scfg
Auto Trait Implementations§
impl Freeze for I2scfg
impl RefUnwindSafe for I2scfg
impl Send for I2scfg
impl Sync for I2scfg
impl Unpin for I2scfg
impl UnwindSafe for I2scfg
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
)