Enum xmc4800::usb0::gnptxsts::NPTX_QTOP_A
source · #[repr(u8)]pub enum NPTX_QTOP_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE4 = 3,
}
Expand description
Top of the Non-periodic Transmit Request Queue
Value on reset: 0
Variants§
VALUE1 = 0
0: IN/OUT token
VALUE2 = 1
1: Zero-length transmit packet (device IN/host OUT)
VALUE4 = 3
3: Channel halt command
Trait Implementations§
source§impl Clone for NPTX_QTOP_A
impl Clone for NPTX_QTOP_A
source§fn clone(&self) -> NPTX_QTOP_A
fn clone(&self) -> NPTX_QTOP_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 NPTX_QTOP_A
impl Debug for NPTX_QTOP_A
source§impl From<NPTX_QTOP_A> for u8
impl From<NPTX_QTOP_A> for u8
source§fn from(variant: NPTX_QTOP_A) -> Self
fn from(variant: NPTX_QTOP_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for NPTX_QTOP_A
impl PartialEq for NPTX_QTOP_A
source§fn eq(&self, other: &NPTX_QTOP_A) -> bool
fn eq(&self, other: &NPTX_QTOP_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NPTX_QTOP_A
impl Eq for NPTX_QTOP_A
impl IsEnum for NPTX_QTOP_A
impl StructuralPartialEq for NPTX_QTOP_A
Auto Trait Implementations§
impl Freeze for NPTX_QTOP_A
impl RefUnwindSafe for NPTX_QTOP_A
impl Send for NPTX_QTOP_A
impl Sync for NPTX_QTOP_A
impl Unpin for NPTX_QTOP_A
impl UnwindSafe for NPTX_QTOP_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