pub enum Cpolselect {
IdleLow = 0,
IdleHigh = 1,
}
Expand description
Clock Polarity
Value on reset: 0
Variants§
IdleLow = 0
0: TxD Change:- Rising XCK edge, RxD Sample:- Falling XCK edge
IdleHigh = 1
1: TxD Change:- Falling XCK edge, RxD Sample:- Rising XCK edge
Trait Implementations§
Source§impl Clone for Cpolselect
impl Clone for Cpolselect
Source§fn clone(&self) -> Cpolselect
fn clone(&self) -> Cpolselect
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 Cpolselect
impl Debug for Cpolselect
Source§impl From<Cpolselect> for bool
impl From<Cpolselect> for bool
Source§fn from(variant: Cpolselect) -> Self
fn from(variant: Cpolselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Cpolselect
impl PartialEq for Cpolselect
impl Copy for Cpolselect
impl Eq for Cpolselect
impl StructuralPartialEq for Cpolselect
Auto Trait Implementations§
impl Freeze for Cpolselect
impl RefUnwindSafe for Cpolselect
impl Send for Cpolselect
impl Sync for Cpolselect
impl Unpin for Cpolselect
impl UnwindSafe for Cpolselect
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