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

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

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

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

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

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

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

pub fn poci(&mut self) -> _POCIW[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(&mut self) -> _PRSW[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl Send for W

impl Sync for W

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