#[repr(u8)]pub enum SpiClockSelect {
ExternalCkin = 0,
InternalCkout = 1,
InternalCkoutFallingHalved = 2,
InternalCkoutRisingHalved = 3,
}Expand description
Serial-interface clock source.
Variants§
ExternalCkin = 0
Clock coming from external CKIN pin of the transceiver
sampling point according to SerialInterfaceType
InternalCkout = 1
Clock coming from the internal CKOUT output
sampling point according to SerialInterfaceType
InternalCkoutFallingHalved = 2
Clock coming from the internal CKOUT output sampling point on each second CKOUT falling edge
InternalCkoutRisingHalved = 3
Clock coming from the internal CKOUT output sampling point on each second CKOUT rising edge
Trait Implementations§
Source§impl Clone for SpiClockSelect
impl Clone for SpiClockSelect
Source§fn clone(&self) -> SpiClockSelect
fn clone(&self) -> SpiClockSelect
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 SpiClockSelect
Source§impl Debug for SpiClockSelect
impl Debug for SpiClockSelect
impl Eq for SpiClockSelect
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 PartialEq for SpiClockSelect
impl PartialEq for SpiClockSelect
impl StructuralPartialEq for SpiClockSelect
Auto Trait Implementations§
impl Freeze for SpiClockSelect
impl RefUnwindSafe for SpiClockSelect
impl Send for SpiClockSelect
impl Sync for SpiClockSelect
impl Unpin for SpiClockSelect
impl UnsafeUnpin for SpiClockSelect
impl UnwindSafe for SpiClockSelect
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