Enum nrf5340_app_pac::usbd_ns::lowpower::LOWPOWER_A
source · [−]pub enum LOWPOWER_A {
FORCE_NORMAL,
LOW_POWER,
}
Expand description
Controls USBD peripheral low-power mode during USB suspend
Value on reset: 0
Variants
FORCE_NORMAL
0: Software must write this value to exit low power mode and before performing a remote wake-up
LOW_POWER
1: Software must write this value to enter low power mode after DMA and software have finished interacting with the USB peripheral
Trait Implementations
sourceimpl Clone for LOWPOWER_A
impl Clone for LOWPOWER_A
sourcefn clone(&self) -> LOWPOWER_A
fn clone(&self) -> LOWPOWER_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 LOWPOWER_A
impl Debug for LOWPOWER_A
sourceimpl From<LOWPOWER_A> for bool
impl From<LOWPOWER_A> for bool
sourcefn from(variant: LOWPOWER_A) -> Self
fn from(variant: LOWPOWER_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LOWPOWER_A> for LOWPOWER_A
impl PartialEq<LOWPOWER_A> for LOWPOWER_A
sourcefn eq(&self, other: &LOWPOWER_A) -> bool
fn eq(&self, other: &LOWPOWER_A) -> bool
impl Copy for LOWPOWER_A
impl StructuralPartialEq for LOWPOWER_A
Auto Trait Implementations
impl RefUnwindSafe for LOWPOWER_A
impl Send for LOWPOWER_A
impl Sync for LOWPOWER_A
impl Unpin for LOWPOWER_A
impl UnwindSafe for LOWPOWER_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