Type Alias d1_pac::usb1::ohci_root_hub_partition::hc_rh_port_status::CONNECT_STATUS_CHANGE_R
source · pub type CONNECT_STATUS_CHANGE_R = BitReader<CONNECT_STATUS_CHANGE_A>;
Expand description
Field connect_status_change
reader - 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_R { /* private fields */ }
Implementations§
source§impl CONNECT_STATUS_CHANGE_R
impl CONNECT_STATUS_CHANGE_R
sourcepub fn variant(&self) -> CONNECT_STATUS_CHANGE_A
pub fn variant(&self) -> CONNECT_STATUS_CHANGE_A
Get enumerated values variant
sourcepub fn is_no_change(&self) -> bool
pub fn is_no_change(&self) -> bool
Checks if the value of the field is NO_CHANGE