Enum nrf52833_pac::usbd::eventcause::USBWUALLOWED_A
source · [−]pub enum USBWUALLOWED_A {
NOT_ALLOWED,
ALLOWED,
}
Expand description
USB MAC has been woken up and operational. Write ‘1’ to clear.
Value on reset: 0
Variants
NOT_ALLOWED
0: Wake up not allowed
ALLOWED
1: Wake up allowed
Trait Implementations
sourceimpl Clone for USBWUALLOWED_A
impl Clone for USBWUALLOWED_A
sourcefn clone(&self) -> USBWUALLOWED_A
fn clone(&self) -> USBWUALLOWED_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 USBWUALLOWED_A
impl Debug for USBWUALLOWED_A
sourceimpl From<USBWUALLOWED_A> for bool
impl From<USBWUALLOWED_A> for bool
sourcefn from(variant: USBWUALLOWED_A) -> Self
fn from(variant: USBWUALLOWED_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<USBWUALLOWED_A> for USBWUALLOWED_A
impl PartialEq<USBWUALLOWED_A> for USBWUALLOWED_A
sourcefn eq(&self, other: &USBWUALLOWED_A) -> bool
fn eq(&self, other: &USBWUALLOWED_A) -> bool
impl Copy for USBWUALLOWED_A
impl StructuralPartialEq for USBWUALLOWED_A
Auto Trait Implementations
impl RefUnwindSafe for USBWUALLOWED_A
impl Send for USBWUALLOWED_A
impl Sync for USBWUALLOWED_A
impl Unpin for USBWUALLOWED_A
impl UnwindSafe for USBWUALLOWED_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