pub enum Cphaselect {
LeadingEdge = 0,
TrailingEdge = 1,
}
Expand description
Clock Phase
Value on reset: 0
Variants§
LeadingEdge = 0
0: The data is sampled on a leading SCK edge and changed on a trailing SCK edge
TrailingEdge = 1
1: The data is sampled on a trailing SCK edge and changed on a leading SCK edge
Trait Implementations§
Source§impl Clone for Cphaselect
impl Clone for Cphaselect
Source§fn clone(&self) -> Cphaselect
fn clone(&self) -> Cphaselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Cphaselect
impl Debug for Cphaselect
Source§impl From<Cphaselect> for bool
impl From<Cphaselect> for bool
Source§fn from(variant: Cphaselect) -> Self
fn from(variant: Cphaselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Cphaselect
impl PartialEq for Cphaselect
impl Copy for Cphaselect
impl Eq for Cphaselect
impl StructuralPartialEq for Cphaselect
Auto Trait Implementations§
impl Freeze for Cphaselect
impl RefUnwindSafe for Cphaselect
impl Send for Cphaselect
impl Sync for Cphaselect
impl Unpin for Cphaselect
impl UnwindSafe for Cphaselect
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