Enum xmc4800::usb0::dctl::GNPINNAK_STS_A
source · pub enum GNPINNAK_STS_A {
VALUE1 = 0,
VALUE2 = 1,
}
Expand description
Global Non-periodic IN NAK Status
Value on reset: 0
Variants§
VALUE1 = 0
0: A handshake is sent out based on the data availability in the transmit FIFO.
VALUE2 = 1
1: A NAK handshake is sent out on all non-periodic IN endpoints, irrespective of the data availability in the transmit FIFO.
Trait Implementations§
source§impl Clone for GNPINNAK_STS_A
impl Clone for GNPINNAK_STS_A
source§fn clone(&self) -> GNPINNAK_STS_A
fn clone(&self) -> GNPINNAK_STS_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 GNPINNAK_STS_A
impl Debug for GNPINNAK_STS_A
source§impl From<GNPINNAK_STS_A> for bool
impl From<GNPINNAK_STS_A> for bool
source§fn from(variant: GNPINNAK_STS_A) -> Self
fn from(variant: GNPINNAK_STS_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for GNPINNAK_STS_A
impl PartialEq for GNPINNAK_STS_A
source§fn eq(&self, other: &GNPINNAK_STS_A) -> bool
fn eq(&self, other: &GNPINNAK_STS_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GNPINNAK_STS_A
impl Eq for GNPINNAK_STS_A
impl StructuralPartialEq for GNPINNAK_STS_A
Auto Trait Implementations§
impl Freeze for GNPINNAK_STS_A
impl RefUnwindSafe for GNPINNAK_STS_A
impl Send for GNPINNAK_STS_A
impl Sync for GNPINNAK_STS_A
impl Unpin for GNPINNAK_STS_A
impl UnwindSafe for GNPINNAK_STS_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