pub struct LPM_SUS_R(/* private fields */);Expand description
Field LPM_SUS reader - Device status - LPM Suspend. This bit represents the current LPM suspend state. It is set to 1 by HW when the device has acknowledged the LPM request from the USB host and the Token Retry Time of 10 ms has elapsed. When the device is in the LPM suspended state (LPM suspend bit = 1) and the software writes a zero to this bit, the device will generate a remote walk-up. Software can only write a zero to this bit when the LPM_REWP bit is set to 1. HW resets this bit when it receives a host initiated resume. HW only updates the LPM_SUS bit when the LPM_SUPP bit is equal to one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LPM_SUS_R
impl RefUnwindSafe for LPM_SUS_R
impl Send for LPM_SUS_R
impl Sync for LPM_SUS_R
impl Unpin for LPM_SUS_R
impl UnsafeUnpin for LPM_SUS_R
impl UnwindSafe for LPM_SUS_R
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