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

Field connect_status_change writer - This bit is set whenever a connect or disconnect event occurs. The HCD writes a ‘1’ to clear this bit. Writing a ‘0’ has no effect. If CurrentConnectStatus is cleared when a SetPortReset,SetPortEnable , or SetPortSuspend write occurs, this bit is set to force the driver to re-evaluate the connection status since these writes should not occur if the port is disconnected.

Note: If the DeviceRemovable[NDP] bit is set, this bit is set only after a Root Hub reset to inform the system that the device is attached.

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> CONNECT_STATUS_CHANGE_W<'a, O>

source

pub fn no_change(self) -> &'a mut W

no change in CurrentConnectStatus

source

pub fn change(self) -> &'a mut W

CurrentConnectStatus has changed