pub enum CPHA {
FirstEdge = 0,
SecondEdge = 1,
}
Expand description
Clock phase
Value on reset: 0
Variants§
FirstEdge = 0
0: The first clock transition is the first data capture edge
SecondEdge = 1
1: The second clock transition is the first data capture edge
Trait Implementations§
impl Copy for CPHA
impl Eq for CPHA
impl StructuralPartialEq for CPHA
Auto Trait Implementations§
impl Freeze for CPHA
impl RefUnwindSafe for CPHA
impl Send for CPHA
impl Sync for CPHA
impl Unpin for CPHA
impl UnwindSafe for CPHA
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