Type Alias d1_pac::usb1::ohci_root_hub_partition::hc_rh_port_status::R_CURRENT_CONNECT_STATUS_W_CLEAR_PORT_ENABLE_W
source · pub type R_CURRENT_CONNECT_STATUS_W_CLEAR_PORT_ENABLE_W<'a, const O: u8> = BitWriter<'a, u32, HC_RH_PORT_STATUS_SPEC, bool, O>;
Expand description
Field r_current_connect_status_w_clear_port_enable
writer - (read) CurrentConnectStatus
This bit reflects the current state of the downstream port.
0 No device connected
1 Device connected
(write) ClearPortEnable
The HCD writes a ‘1’ to clear the PortEnableStatus bit. Writing ‘0’ to this bit has no effect. The CurrentConnectStatus is not affected by any write. Note: This bit is always read ‘1’ when the attached device is nonremovalble (DviceRemoveable[NumberDownstreamPort]).
Aliased Type§
struct R_CURRENT_CONNECT_STATUS_W_CLEAR_PORT_ENABLE_W<'a, const O: u8> { /* private fields */ }