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