pub struct DSUS_W<'a> { /* private fields */ }Expand description
Field DSUS writer - 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.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DSUS_W<'a>
impl<'a> RefUnwindSafe for DSUS_W<'a>
impl<'a> Send for DSUS_W<'a>
impl<'a> Sync for DSUS_W<'a>
impl<'a> Unpin for DSUS_W<'a>
impl<'a> UnsafeUnpin for DSUS_W<'a>
impl<'a> !UnwindSafe for DSUS_W<'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