pub struct DSUS_R(/* private fields */);Expand description
Field DSUS reader - Device status - suspend. The suspend bit indicates the current suspend state. It is set to 1 when the device hasn’t seen any activity on its upstream port for more than 3 milliseconds. It is reset to 0 on any activity. When the device is suspended (Suspend bit DSUS = 1) and the software writes a 0 to it, the device will generate a remote wake-up. This will only happen when the device is connected (Connect bit = 1). When the device is not connected or not suspended, a writing a 0 has no effect. Writing a 1 never has an effect.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DSUS_R
impl RefUnwindSafe for DSUS_R
impl Send for DSUS_R
impl Sync for DSUS_R
impl Unpin for DSUS_R
impl UnsafeUnpin for DSUS_R
impl UnwindSafe for DSUS_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