Enum xmc4300::usb0::gnptxsts::NptxFspcAvail
source · #[repr(u16)]pub enum NptxFspcAvail {
Value1 = 0,
Value2 = 1,
Value3 = 2,
}
Expand description
Non-periodic TxFIFO Space Avail
Value on reset: 16
Variants§
Value1 = 0
0: Non-periodic TxFIFO is full
Value2 = 1
1: 1 word available
Value3 = 2
2: 2 words available
Trait Implementations§
source§impl Clone for NptxFspcAvail
impl Clone for NptxFspcAvail
source§fn clone(&self) -> NptxFspcAvail
fn clone(&self) -> NptxFspcAvail
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 NptxFspcAvail
impl Debug for NptxFspcAvail
source§impl From<NptxFspcAvail> for u16
impl From<NptxFspcAvail> for u16
source§fn from(variant: NptxFspcAvail) -> Self
fn from(variant: NptxFspcAvail) -> Self
Converts to this type from the input type.
source§impl PartialEq for NptxFspcAvail
impl PartialEq for NptxFspcAvail
source§fn eq(&self, other: &NptxFspcAvail) -> bool
fn eq(&self, other: &NptxFspcAvail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NptxFspcAvail
impl Eq for NptxFspcAvail
impl StructuralPartialEq for NptxFspcAvail
Auto Trait Implementations§
impl RefUnwindSafe for NptxFspcAvail
impl Send for NptxFspcAvail
impl Sync for NptxFspcAvail
impl Unpin for NptxFspcAvail
impl UnwindSafe for NptxFspcAvail
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