Enum atsam4lc4c_pac::spi::csr::CPOLSELECT_A
source · pub enum CPOLSELECT_A {
_0,
_1,
}
Expand description
Clock Polarity
Value on reset: 0
Variants§
_0
0: The inactive state value of SPCK is logic level zero.
_1
1: The inactive state value of SPCK is logic level one.CPOL is used to determine the inactive state value of the serial clock (SPCK). It is used with NCPHA to produce therequired clock/data relationship between master and slave devices.
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<CPOLSELECT_A> for CPOLSELECT_A
impl PartialEq<CPOLSELECT_A> 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 StructuralEq for CPOLSELECT_A
impl StructuralPartialEq for CPOLSELECT_A
Auto Trait Implementations§
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