pub type R_PORT_ENABLE_STATUS_W_SET_PORT_ENABLE_R = BitReader<bool>;
Expand description

Field r_port_enable_status_w_set_port_enable reader - (read)PortEnableStatus

This bit indicates whether the port is enabled or disabled. The Root Hub may clear this bit when an overcurrent condition, disconnect event, switched-off power, or operational bus error such as babble is detected. This change also causes PortEnabledStatusChange to be set. HCD sets this bit by writing SetPortEnable and clears it by writing ClearPortEnable. This bit cannot be set when CurrentConnectStatus is cleared. This bit is also set, if not already, at the completion of a port reset when ResetStatusChange is set or port suspend when SuspendStatusChange is set.

0 port is disabled

1 port is enabled

(write)SetPortEnable

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

Aliased Type§

struct R_PORT_ENABLE_STATUS_W_SET_PORT_ENABLE_R { /* private fields */ }