Enum xmc4800::usb0::dcfg::NzstsOuthshk
source · pub enum NzstsOuthshk {
Value1 = 1,
Value2 = 0,
}
Expand description
Non-Zero-Length Status OUT Handshake
Value on reset: 0
Variants§
Value1 = 1
1: Send a STALL handshake on a nonzero-length status OUT transaction and do not send the received OUT packet to the application.
Value2 = 0
0: Send the received OUT packet to the application (zero-length or nonzero-length) and send a handshake based on the NAK and STALL bits for the endpoint in the Device Endpoint Control register.
Trait Implementations§
source§impl Clone for NzstsOuthshk
impl Clone for NzstsOuthshk
source§fn clone(&self) -> NzstsOuthshk
fn clone(&self) -> NzstsOuthshk
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 NzstsOuthshk
impl Debug for NzstsOuthshk
source§impl From<NzstsOuthshk> for bool
impl From<NzstsOuthshk> for bool
source§fn from(variant: NzstsOuthshk) -> Self
fn from(variant: NzstsOuthshk) -> Self
Converts to this type from the input type.
source§impl PartialEq for NzstsOuthshk
impl PartialEq for NzstsOuthshk
source§fn eq(&self, other: &NzstsOuthshk) -> bool
fn eq(&self, other: &NzstsOuthshk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NzstsOuthshk
impl Eq for NzstsOuthshk
impl StructuralPartialEq for NzstsOuthshk
Auto Trait Implementations§
impl RefUnwindSafe for NzstsOuthshk
impl Send for NzstsOuthshk
impl Sync for NzstsOuthshk
impl Unpin for NzstsOuthshk
impl UnwindSafe for NzstsOuthshk
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