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