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