Enum xmc4200::usb0::dctl::GOUTNAK_STS_A
source · pub enum GOUTNAK_STS_A {
VALUE1 = 0,
VALUE2 = 1,
}
Expand description
Global OUT NAK Status
Value on reset: 0
Variants§
VALUE1 = 0
0: A handshake is sent based on the FIFO Status and the NAK and STALL bit settings.
VALUE2 = 1
1: No data is written to the RxFIFO, irrespective of space availability. Sends a NAK handshake on all packets, except on SETUP transactions. All isochronous OUT packets are dropped.
Trait Implementations§
source§impl Clone for GOUTNAK_STS_A
impl Clone for GOUTNAK_STS_A
source§fn clone(&self) -> GOUTNAK_STS_A
fn clone(&self) -> GOUTNAK_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 GOUTNAK_STS_A
impl Debug for GOUTNAK_STS_A
source§impl From<GOUTNAK_STS_A> for bool
impl From<GOUTNAK_STS_A> for bool
source§fn from(variant: GOUTNAK_STS_A) -> Self
fn from(variant: GOUTNAK_STS_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for GOUTNAK_STS_A
impl PartialEq for GOUTNAK_STS_A
source§fn eq(&self, other: &GOUTNAK_STS_A) -> bool
fn eq(&self, other: &GOUTNAK_STS_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GOUTNAK_STS_A
impl Eq for GOUTNAK_STS_A
impl StructuralPartialEq for GOUTNAK_STS_A
Auto Trait Implementations§
impl Freeze for GOUTNAK_STS_A
impl RefUnwindSafe for GOUTNAK_STS_A
impl Send for GOUTNAK_STS_A
impl Sync for GOUTNAK_STS_A
impl Unpin for GOUTNAK_STS_A
impl UnwindSafe for GOUTNAK_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