Enum atsam4lc2b_pac::spi::sr::TDRESELECT_A
source · pub enum TDRESELECT_A {
_0,
_1,
}
Expand description
Transmit Data Register Empty
Value on reset: 0
Variants§
_0
0: Data has been written to TDR and not yet transferred to the serializer.
_1
1: The last data written in the Transmit Data Register has been transferred to the serializer.TDRE equals zero when the SPI is disabled or at reset. The SPI enable command sets this bit to one.
Trait Implementations§
source§impl Clone for TDRESELECT_A
impl Clone for TDRESELECT_A
source§fn clone(&self) -> TDRESELECT_A
fn clone(&self) -> TDRESELECT_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 TDRESELECT_A
impl Debug for TDRESELECT_A
source§impl From<TDRESELECT_A> for bool
impl From<TDRESELECT_A> for bool
source§fn from(variant: TDRESELECT_A) -> Self
fn from(variant: TDRESELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<TDRESELECT_A> for TDRESELECT_A
impl PartialEq<TDRESELECT_A> for TDRESELECT_A
source§fn eq(&self, other: &TDRESELECT_A) -> bool
fn eq(&self, other: &TDRESELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TDRESELECT_A
impl Eq for TDRESELECT_A
impl StructuralEq for TDRESELECT_A
impl StructuralPartialEq for TDRESELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for TDRESELECT_A
impl Send for TDRESELECT_A
impl Sync for TDRESELECT_A
impl Unpin for TDRESELECT_A
impl UnwindSafe for TDRESELECT_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