pub enum WKUPR {
NotWakeup = 0,
Wakeup = 1,
}
Expand description
Wakeup This bit is set to 1 by the hardware when, during suspend mode, activity is detected that wakes up the USB peripheral. This event asynchronously clears the LP_MODE bit in the CTLR register and activates the USB_WAKEUP line, which can be used to notify the rest of the device (e.g. wakeup unit) about the start of the resume process. This bit is read/write but only ’0 can be written and writing ’1 has no effect.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for WKUPR
impl Eq for WKUPR
impl StructuralPartialEq for WKUPR
Auto Trait Implementations§
impl Freeze for WKUPR
impl RefUnwindSafe for WKUPR
impl Send for WKUPR
impl Sync for WKUPR
impl Unpin for WKUPR
impl UnwindSafe for WKUPR
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