pub enum InternalSpiMode {
SpiRising,
SpiFalling,
HalfClockFalling,
HalfClockRising,
}Expand description
Sampling edge for the internally-generated serial clock (SPICKSEL = 1).
Variants§
SpiRising
Sampling on the rising edge of the clock
SpiFalling
Sampling on the falling edge of the clock
HalfClockFalling
Sampling on each second CKOUT falling edge
HalfClockRising
Sampling on each second CKOUT rising edge
Trait Implementations§
Source§impl Clone for InternalSpiMode
impl Clone for InternalSpiMode
Source§fn clone(&self) -> InternalSpiMode
fn clone(&self) -> InternalSpiMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InternalSpiMode
Source§impl Debug for InternalSpiMode
impl Debug for InternalSpiMode
impl Eq for InternalSpiMode
Source§impl From<InternalSpiMode> for SpiClockSelect
impl From<InternalSpiMode> for SpiClockSelect
Source§fn from(value: InternalSpiMode) -> Self
fn from(value: InternalSpiMode) -> Self
Converts to this type from the input type.
Source§impl From<InternalSpiMode> for SerialInterfaceType
impl From<InternalSpiMode> for SerialInterfaceType
Source§fn from(value: InternalSpiMode) -> Self
fn from(value: InternalSpiMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InternalSpiMode
impl PartialEq for InternalSpiMode
impl StructuralPartialEq for InternalSpiMode
Auto Trait Implementations§
impl Freeze for InternalSpiMode
impl RefUnwindSafe for InternalSpiMode
impl Send for InternalSpiMode
impl Sync for InternalSpiMode
impl Unpin for InternalSpiMode
impl UnsafeUnpin for InternalSpiMode
impl UnwindSafe for InternalSpiMode
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