Enum nrf52840_pac::usbd::halted::epin::GETSTATUS_A
source · [−]#[repr(u16)]
pub enum GETSTATUS_A {
NOT_HALTED,
HALTED,
}
Expand description
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Value on reset: 0
Variants
NOT_HALTED
0: Endpoint is not halted
HALTED
1: Endpoint is halted
Trait Implementations
sourceimpl Clone for GETSTATUS_A
impl Clone for GETSTATUS_A
sourcefn clone(&self) -> GETSTATUS_A
fn clone(&self) -> GETSTATUS_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GETSTATUS_A
impl Debug for GETSTATUS_A
sourceimpl From<GETSTATUS_A> for u16
impl From<GETSTATUS_A> for u16
sourcefn from(variant: GETSTATUS_A) -> Self
fn from(variant: GETSTATUS_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<GETSTATUS_A> for GETSTATUS_A
impl PartialEq<GETSTATUS_A> for GETSTATUS_A
sourcefn eq(&self, other: &GETSTATUS_A) -> bool
fn eq(&self, other: &GETSTATUS_A) -> bool
impl Copy for GETSTATUS_A
impl StructuralPartialEq for GETSTATUS_A
Auto Trait Implementations
impl RefUnwindSafe for GETSTATUS_A
impl Send for GETSTATUS_A
impl Sync for GETSTATUS_A
impl Unpin for GETSTATUS_A
impl UnwindSafe for GETSTATUS_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more