Enum atsame70n21b::spi0::csr::NCPHASELECT_A
source · pub enum NCPHASELECT_A {
VALID_LEADING_EDGE = 1,
VALID_TRAILING_EDGE = 0,
}
Expand description
Clock Phase
Value on reset: 0
Variants§
VALID_LEADING_EDGE = 1
1: Data is valid on clock leading edge (NCPHA=1)
VALID_TRAILING_EDGE = 0
0: Data is valid on clock trailing edge (NCPHA=0)
Trait Implementations§
source§impl Clone for NCPHASELECT_A
impl Clone for NCPHASELECT_A
source§fn clone(&self) -> NCPHASELECT_A
fn clone(&self) -> NCPHASELECT_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 NCPHASELECT_A
impl Debug for NCPHASELECT_A
source§impl From<NCPHASELECT_A> for bool
impl From<NCPHASELECT_A> for bool
source§fn from(variant: NCPHASELECT_A) -> Self
fn from(variant: NCPHASELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for NCPHASELECT_A
impl PartialEq for NCPHASELECT_A
source§fn eq(&self, other: &NCPHASELECT_A) -> bool
fn eq(&self, other: &NCPHASELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NCPHASELECT_A
impl Eq for NCPHASELECT_A
impl StructuralEq for NCPHASELECT_A
impl StructuralPartialEq for NCPHASELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for NCPHASELECT_A
impl Send for NCPHASELECT_A
impl Sync for NCPHASELECT_A
impl Unpin for NCPHASELECT_A
impl UnwindSafe for NCPHASELECT_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