Enum xmc4300::usb0::dctl::GnpinnakSts
source · pub enum GnpinnakSts {
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 GnpinnakSts
impl Clone for GnpinnakSts
source§fn clone(&self) -> GnpinnakSts
fn clone(&self) -> GnpinnakSts
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 GnpinnakSts
impl Debug for GnpinnakSts
source§impl From<GnpinnakSts> for bool
impl From<GnpinnakSts> for bool
source§fn from(variant: GnpinnakSts) -> Self
fn from(variant: GnpinnakSts) -> Self
Converts to this type from the input type.
source§impl PartialEq for GnpinnakSts
impl PartialEq for GnpinnakSts
source§fn eq(&self, other: &GnpinnakSts) -> bool
fn eq(&self, other: &GnpinnakSts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GnpinnakSts
impl Eq for GnpinnakSts
impl StructuralPartialEq for GnpinnakSts
Auto Trait Implementations§
impl RefUnwindSafe for GnpinnakSts
impl Send for GnpinnakSts
impl Sync for GnpinnakSts
impl Unpin for GnpinnakSts
impl UnwindSafe for GnpinnakSts
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