Enum nrf52840_pac::usbd::lowpower::LOWPOWER_A
source · pub enum LOWPOWER_A {
FORCE_NORMAL = 0,
LOW_POWER = 1,
}
Expand description
Controls USBD peripheral low-power mode during USB suspend
Value on reset: 0
Variants§
FORCE_NORMAL = 0
0: Software must write this value to exit low power mode and before performing a remote wake-up
LOW_POWER = 1
1: Software must write this value to enter low power mode after DMA and software have finished interacting with the USB peripheral
Trait Implementations§
source§impl Clone for LOWPOWER_A
impl Clone for LOWPOWER_A
source§fn clone(&self) -> LOWPOWER_A
fn clone(&self) -> LOWPOWER_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 LOWPOWER_A
impl Debug for LOWPOWER_A
source§impl From<LOWPOWER_A> for bool
impl From<LOWPOWER_A> for bool
source§fn from(variant: LOWPOWER_A) -> Self
fn from(variant: LOWPOWER_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for LOWPOWER_A
impl PartialEq for LOWPOWER_A
impl Copy for LOWPOWER_A
impl StructuralPartialEq for LOWPOWER_A
Auto Trait Implementations§
impl Freeze for LOWPOWER_A
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)