[][src]Struct lpc55s6x_pac::usbfsh::hcrhportstatus::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

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

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

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

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

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

pub fn poci(&self) -> POCIR[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) -> PRSR[src]

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

pub fn pps(&self) -> PPSR[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) -> LSDAR[src]

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self