Enum atsam4ls8b_pac::spi::csr::NCPHASELECT_A
source · pub enum NCPHASELECT_A {
_0,
_1,
}
Expand description
Clock Phase
Value on reset: 0
Variants§
_0
0: Data is changed on the leading edge of SPCK and captured on the following edge of SPCK.
_1
1: Data is captured on the leading edge of SPCK and changed on the following edge of SPCK.NCPHA determines which edge of SPCK causes data to change and which edge causes data to be captured. NCPHA isused with CPOL to produce the required clock/data relationship between master and slave devices.
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<NCPHASELECT_A> for NCPHASELECT_A
impl PartialEq<NCPHASELECT_A> 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