Enum embedded_hal_async::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§
source§impl PartialEq for Phase
impl PartialEq for Phase
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§
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