[][src]Type Definition lpc54606_pac::usbfsh::hcrhportstatus::R

type R = R<u32, HCRHPORTSTATUS>;

Reader of register HCRHPORTSTATUS

Methods

impl R[src]

pub fn ccs(&self) -> CCS_R[src]

Bit 0 - (read) CurrentConnectStatus This bit reflects the current state of the downstream port.

pub fn pes(&self) -> PES_R[src]

Bit 1 - (read) PortEnableStatus This bit indicates whether the port is enabled or disabled.

pub fn pss(&self) -> PSS_R[src]

Bit 2 - (read) PortSuspendStatus This bit indicates the port is suspended or in the resume sequence.

pub fn poci(&self) -> POCI_R[src]

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.

pub fn prs(&self) -> PRS_R[src]

Bit 4 - (read) PortResetStatus When this bit is set by a write to SetPortReset, port reset signaling is asserted.

pub fn pps(&self) -> PPS_R[src]

Bit 8 - (read) PortPowerStatus This bit reflects the porta's power status, regardless of the type of power switching implemented.

pub fn lsda(&self) -> LSDA_R[src]

Bit 9 - (read) LowSpeedDeviceAttached This bit indicates the speed of the device attached to this port.

pub fn csc(&self) -> CSC_R[src]

Bit 16 - ConnectStatusChange This bit is set whenever a connect or disconnect event occurs.

pub fn pesc(&self) -> PESC_R[src]

Bit 17 - PortEnableStatusChange This bit is set when hardware events cause the PortEnableStatus bit to be cleared.

pub fn pssc(&self) -> PSSC_R[src]

Bit 18 - PortSuspendStatusChange This bit is set when the full resume sequence is completed.

pub fn ocic(&self) -> OCIC_R[src]

Bit 19 - PortOverCurrentIndicatorChange This bit is valid only if overcurrent conditions are reported on a per-port basis.

pub fn prsc(&self) -> PRSC_R[src]

Bit 20 - PortResetStatusChange This bit is set at the end of the 10 ms port reset signal.