Enum Lowpower
#[repr(u8)]pub enum Lowpower {
ForceNormal = 0,
LowPower = 1,
}Variants§
ForceNormal = 0
Software must write this value to exit Low-power mode and before performing a remote wake-up.
LowPower = 1
Software must write this value to enter Low-power mode after DMA and software have finished interacting with the USB peripheral.
Implementations§
Trait Implementations§
impl Copy for Lowpower
impl Eq for Lowpower
§impl Ord for Lowpower
impl Ord for Lowpower
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Lowpower
impl PartialOrd for Lowpower
impl StructuralPartialEq for Lowpower
Auto Trait Implementations§
impl Freeze for Lowpower
impl RefUnwindSafe for Lowpower
impl Send for Lowpower
impl Sync for Lowpower
impl Unpin for Lowpower
impl UnsafeUnpin for Lowpower
impl UnwindSafe for Lowpower
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