pub enum SpiMode {
SpiRisingEdge,
SpiFallingEdge,
}Expand description
SPI edge mode
Variants§
SpiRisingEdge
Sampling on the rising edge of the clock
SpiFallingEdge
Sampling on the falling edge of the clock
Trait Implementations§
impl Copy for SpiMode
impl Eq for SpiMode
Source§impl From<SpiMode> for SerialInterfaceType
impl From<SpiMode> for SerialInterfaceType
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§
impl<T, I> Binding<I, NoHandler<I>> for T
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