Type Alias d1_pac::usb1::ohci_root_hub_partition::hc_rh_port_status::CONNECT_STATUS_CHANGE_W
source · 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 */ }