pub struct R(_);
Expand description
Register HCRHPORTSTATUS
reader
Implementations
sourceimpl R
impl R
sourcepub fn ccs(&self) -> CCS_R
pub fn ccs(&self) -> CCS_R
Bit 0 - (read) CurrentConnectStatus This bit reflects the current state of the downstream port.
sourcepub fn pes(&self) -> PES_R
pub fn pes(&self) -> PES_R
Bit 1 - (read) PortEnableStatus This bit indicates whether the port is enabled or disabled.
sourcepub fn pss(&self) -> PSS_R
pub fn pss(&self) -> PSS_R
Bit 2 - (read) PortSuspendStatus This bit indicates the port is suspended or in the resume sequence.
sourcepub fn poci(&self) -> POCI_R
pub fn poci(&self) -> POCI_R
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(&self) -> PRS_R
pub fn prs(&self) -> PRS_R
Bit 4 - (read) PortResetStatus When this bit is set by a write to SetPortReset, port reset signaling is asserted.
sourcepub fn pps(&self) -> PPS_R
pub fn pps(&self) -> PPS_R
Bit 8 - (read) PortPowerStatus This bit reflects the porta’s power status, regardless of the type of power switching implemented.
sourcepub fn lsda(&self) -> LSDA_R
pub fn lsda(&self) -> LSDA_R
Bit 9 - (read) LowSpeedDeviceAttached This bit indicates the speed of the device attached to this port.
sourcepub fn csc(&self) -> CSC_R
pub fn csc(&self) -> CSC_R
Bit 16 - ConnectStatusChange This bit is set whenever a connect or disconnect event occurs.
sourcepub fn pesc(&self) -> PESC_R
pub fn pesc(&self) -> PESC_R
Bit 17 - PortEnableStatusChange This bit is set when hardware events cause the PortEnableStatus bit to be cleared.
sourcepub fn pssc(&self) -> PSSC_R
pub fn pssc(&self) -> PSSC_R
Bit 18 - PortSuspendStatusChange This bit is set when the full resume sequence is completed.
Methods from Deref<Target = R<HCRHPORTSTATUS_SPEC>>
Trait Implementations
sourceimpl From<R<HCRHPORTSTATUS_SPEC>> for R
impl From<R<HCRHPORTSTATUS_SPEC>> for R
sourcefn from(reader: R<HCRHPORTSTATUS_SPEC>) -> Self
fn from(reader: R<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