pub enum SUSPEND_A {
NOT_SUSPEND = 0,
SUSPEND = 1,
}
Expand description
Suspend
Port Enabled Bit and Suspend bit of this register define the port states
When in suspend state, downstream propagation of data is blocked on this port, except for port reset. The blocking occurs at the end of the current transaction, if a transaction was in progress when this bit was written to 1. In the suspend state, the port is sensitive to resume detection. Not that the bit status does not change until the port is suspend and that there may be a delay in suspending a port if there is a transaction currently in progress on the USB.
A write of zero to this bit is ignored by the host controller. The host controller will unconditionally set this bit to a zero when:
- Software sets the Force Port Resume bit to a zero(from a one).
- Software sets the Port Reset bit to a one(from a zero).
If host software sets this bit to a one when the port is not enabled(i.e. Port enabled bit is a zero), the results are undefined.
This field is zero if Port Power is zero.
The default value in this field is ‘0’.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for SUSPEND_A
impl Eq for SUSPEND_A
impl StructuralPartialEq for SUSPEND_A
Auto Trait Implementations§
impl Freeze for SUSPEND_A
impl RefUnwindSafe for SUSPEND_A
impl Send for SUSPEND_A
impl Sync for SUSPEND_A
impl Unpin for SUSPEND_A
impl UnwindSafe for SUSPEND_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)