Type Alias d1_pac::usb1::ohci_root_hub_partition::hc_rh_port_status::R_PORT_OVER_CURRENT_INDICATOR_W_CLEAR_SUSPEND_STATUS_W
source · pub type R_PORT_OVER_CURRENT_INDICATOR_W_CLEAR_SUSPEND_STATUS_W<'a, const O: u8> = BitWriter<'a, u32, HC_RH_PORT_STATUS_SPEC, bool, O>;
Expand description
Field r_port_over_current_indicator_w_clear_suspend_status
writer - (read) PortOverCurrentIndicator
This bit is only valid when the Root Hub is configured in such a way that overcurrent conditions are reported on a per-port basis. If per-port overcurrent reporting is not supported, this bit is set to 0. If cleared, all power operations are normal for this port. If set, an overcurrent condition exists on this port. This bit always reflects the overcurrent input signal. 0 no overcurrent condition. 1 overcurrent condition detected.
(write) ClearSuspendStatus
The HCD writes a ‘1’ to initiate a resume. Writing a ‘0’ has no effect. A resume is initiated only if PortSuspendStatus is set.
Aliased Type§
struct R_PORT_OVER_CURRENT_INDICATOR_W_CLEAR_SUSPEND_STATUS_W<'a, const O: u8> { /* private fields */ }