pub struct W(_);
Expand description
Register HCRHPORTSTATUS
writer
Implementations
sourceimpl W
impl W
sourcepub fn ccs(&mut self) -> CCS_W<'_>
pub fn ccs(&mut self) -> CCS_W<'_>
Bit 0 - (read) CurrentConnectStatus This bit reflects the current state of the downstream port.
sourcepub fn pes(&mut self) -> PES_W<'_>
pub fn pes(&mut self) -> PES_W<'_>
Bit 1 - (read) PortEnableStatus This bit indicates whether the port is enabled or disabled.
sourcepub fn pss(&mut self) -> PSS_W<'_>
pub fn pss(&mut self) -> PSS_W<'_>
Bit 2 - (read) PortSuspendStatus This bit indicates the port is suspended or in the resume sequence.
sourcepub fn poci(&mut self) -> POCI_W<'_>
pub fn poci(&mut self) -> POCI_W<'_>
Bit 3 - (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.
sourcepub fn prs(&mut self) -> PRS_W<'_>
pub fn prs(&mut self) -> PRS_W<'_>
Bit 4 - (read) PortResetStatus When this bit is set by a write to SetPortReset, port reset signaling is asserted.
sourcepub fn pps(&mut self) -> PPS_W<'_>
pub fn pps(&mut self) -> PPS_W<'_>
Bit 8 - (read) PortPowerStatus This bit reflects the porta’s power status, regardless of the type of power switching implemented.
sourcepub fn lsda(&mut self) -> LSDA_W<'_>
pub fn lsda(&mut self) -> LSDA_W<'_>
Bit 9 - (read) LowSpeedDeviceAttached This bit indicates the speed of the device attached to this port.
sourcepub fn csc(&mut self) -> CSC_W<'_>
pub fn csc(&mut self) -> CSC_W<'_>
Bit 16 - ConnectStatusChange This bit is set whenever a connect or disconnect event occurs.
sourcepub fn pesc(&mut self) -> PESC_W<'_>
pub fn pesc(&mut self) -> PESC_W<'_>
Bit 17 - PortEnableStatusChange This bit is set when hardware events cause the PortEnableStatus bit to be cleared.
sourcepub fn pssc(&mut self) -> PSSC_W<'_>
pub fn pssc(&mut self) -> PSSC_W<'_>
Bit 18 - PortSuspendStatusChange This bit is set when the full resume sequence is completed.
sourcepub fn ocic(&mut self) -> OCIC_W<'_>
pub fn ocic(&mut self) -> OCIC_W<'_>
Bit 19 - PortOverCurrentIndicatorChange This bit is valid only if overcurrent conditions are reported on a per-port basis.
Methods from Deref<Target = W<HCRHPORTSTATUS_SPEC>>
Trait Implementations
sourceimpl From<W<HCRHPORTSTATUS_SPEC>> for W
impl From<W<HCRHPORTSTATUS_SPEC>> for W
sourcefn from(writer: W<HCRHPORTSTATUS_SPEC>) -> Self
fn from(writer: W<HCRHPORTSTATUS_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more