Enum atsam4lc2b_pac::spi::cr::SPIDISSELECT_AW
source · pub enum SPIDISSELECT_AW {
_0,
_1,
}
Expand description
SPI Disable
Value on reset: 0
Variants§
_0
0: No effect.
_1
1: Disables the SPI.All pins are set in input mode and no data is received or transmitted.If a transfer is in progress, the transfer is finished before the SPI is disabled.If both SPIEN and SPIDIS are equal to one when the control register is written, the SPI is disabled.
Trait Implementations§
source§impl Clone for SPIDISSELECT_AW
impl Clone for SPIDISSELECT_AW
source§fn clone(&self) -> SPIDISSELECT_AW
fn clone(&self) -> SPIDISSELECT_AW
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 SPIDISSELECT_AW
impl Debug for SPIDISSELECT_AW
source§impl From<SPIDISSELECT_AW> for bool
impl From<SPIDISSELECT_AW> for bool
source§fn from(variant: SPIDISSELECT_AW) -> Self
fn from(variant: SPIDISSELECT_AW) -> Self
Converts to this type from the input type.
source§impl PartialEq<SPIDISSELECT_AW> for SPIDISSELECT_AW
impl PartialEq<SPIDISSELECT_AW> for SPIDISSELECT_AW
source§fn eq(&self, other: &SPIDISSELECT_AW) -> bool
fn eq(&self, other: &SPIDISSELECT_AW) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SPIDISSELECT_AW
impl Eq for SPIDISSELECT_AW
impl StructuralEq for SPIDISSELECT_AW
impl StructuralPartialEq for SPIDISSELECT_AW
Auto Trait Implementations§
impl RefUnwindSafe for SPIDISSELECT_AW
impl Send for SPIDISSELECT_AW
impl Sync for SPIDISSELECT_AW
impl Unpin for SPIDISSELECT_AW
impl UnwindSafe for SPIDISSELECT_AW
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