Enum stm32_hal2::dfsdm::SpiClock
source · [−]#[repr(u8)]
pub enum SpiClock {
External,
Internal,
InternalFalling,
InternalRising,
}
Expand description
SPI clock select for a given channel.
Variants
External
Clock coming from external CKINy input - sampling point according SITP[1:0
Internal
Clock coming from internal CKOUT output - sampling point according SITP[1:0]
InternalFalling
Clock coming from internal CKOUT - sampling point on each second CKOUT falling edge
InternalRising
Clock coming from internal CKOUT output - sampling point on each second CKOUT rising edge.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpiClock
impl Send for SpiClock
impl Sync for SpiClock
impl Unpin for SpiClock
impl UnwindSafe for SpiClock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more