Enum nrf52820_pac::usbd::inten::ENDEPIN2_A
source · [−]pub enum ENDEPIN2_A {
DISABLED,
ENABLED,
}
Expand description
Enable or disable interrupt for event ENDEPIN[2]
Value on reset: 0
Variants
DISABLED
0: Disable
ENABLED
1: Enable
Trait Implementations
sourceimpl Clone for ENDEPIN2_A
impl Clone for ENDEPIN2_A
sourcefn clone(&self) -> ENDEPIN2_A
fn clone(&self) -> ENDEPIN2_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 ENDEPIN2_A
impl Debug for ENDEPIN2_A
sourceimpl From<ENDEPIN2_A> for bool
impl From<ENDEPIN2_A> for bool
sourcefn from(variant: ENDEPIN2_A) -> Self
fn from(variant: ENDEPIN2_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ENDEPIN2_A> for ENDEPIN2_A
impl PartialEq<ENDEPIN2_A> for ENDEPIN2_A
sourcefn eq(&self, other: &ENDEPIN2_A) -> bool
fn eq(&self, other: &ENDEPIN2_A) -> bool
impl Copy for ENDEPIN2_A
impl StructuralPartialEq for ENDEPIN2_A
Auto Trait Implementations
impl RefUnwindSafe for ENDEPIN2_A
impl Send for ENDEPIN2_A
impl Sync for ENDEPIN2_A
impl Unpin for ENDEPIN2_A
impl UnwindSafe for ENDEPIN2_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