pub enum CPOLSELECT_A {
IDLE_LOW = 0,
IDLE_HIGH = 1,
}
Expand description
Clock Polarity
Value on reset: 0
Variants§
IDLE_LOW = 0
0: TxD Change:- Rising XCK edge, RxD Sample:- Falling XCK edge
IDLE_HIGH = 1
1: TxD Change:- Falling XCK edge, RxD Sample:- Rising XCK edge
Trait Implementations§
source§impl Clone for CPOLSELECT_A
impl Clone for CPOLSELECT_A
source§fn clone(&self) -> CPOLSELECT_A
fn clone(&self) -> CPOLSELECT_A
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_A
impl Debug for CPOLSELECT_A
source§impl From<CPOLSELECT_A> for bool
impl From<CPOLSELECT_A> for bool
source§fn from(variant: CPOLSELECT_A) -> Self
fn from(variant: CPOLSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CPOLSELECT_A
impl PartialEq for CPOLSELECT_A
source§fn eq(&self, other: &CPOLSELECT_A) -> bool
fn eq(&self, other: &CPOLSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CPOLSELECT_A
impl Eq for CPOLSELECT_A
impl StructuralPartialEq for CPOLSELECT_A
Auto Trait Implementations§
impl Freeze for CPOLSELECT_A
impl RefUnwindSafe for CPOLSELECT_A
impl Send for CPOLSELECT_A
impl Sync for CPOLSELECT_A
impl Unpin for CPOLSELECT_A
impl UnwindSafe for CPOLSELECT_A
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