pub enum SpiMode {
Mode0 = 0,
Mode1 = 1,
Mode2 = 2,
Mode3 = 3,
}Expand description
Defines the SPI clock polarity and phase.
Variants§
Trait Implementations§
impl StructuralPartialEq for SpiMode
Auto Trait Implementations§
impl Freeze for SpiMode
impl RefUnwindSafe for SpiMode
impl Send for SpiMode
impl Sync for SpiMode
impl Unpin for SpiMode
impl UnsafeUnpin for SpiMode
impl UnwindSafe for SpiMode
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