pub type R_PORT_SUSPEND_STATUS_W_SET_PORT_SUSPEND_W<'a, const O: u8> = BitWriter<'a, u32, HC_RH_PORT_STATUS_SPEC, bool, O>;
Expand description

Field r_port_suspend_status_w_set_port_suspend writer - (read) PortSuspendStatus

This bit indicates the port is suspended or in the resume sequence. It is set by a SetSuspendState write and cleared when PortSuspendStatusChange is set at the end of the resume interval. This bit cannot be set if CurrentConnectStatus is cleared. This bit is also cleared when PortResetStatusChange is set at the end of the port reset or when the HC is placed in the USBRESUME state. If an upstream resume is in progress, it should propagate to the HC.

0 port is not suspended

1 port is suspended

(write) SetPortSuspend

The HCD sets the PortSuspendStatus bit by writing a ‘1’ to this bit. Writing a ‘0’ has no effect. If CurrentConnectStatus is cleared, this write does not set PortSuspendStatus ; instead it sets ConnectStatusChange. This informs the driver that it attempted to suspend a disconnected port.

Aliased Type§

struct R_PORT_SUSPEND_STATUS_W_SET_PORT_SUSPEND_W<'a, const O: u8> { /* private fields */ }