Enum embedded_hal::spi::Phase
source · [−]pub enum Phase {
CaptureOnFirstTransition,
CaptureOnSecondTransition,
}
Expand description
Clock phase
Variants
CaptureOnFirstTransition
Data in “captured” on the first clock transition
CaptureOnSecondTransition
Data in “captured” on the second clock transition
Trait Implementations
impl Copy for Phase
impl Eq for Phase
impl StructuralEq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more