[][src]Struct lpc55s6x_pac::usbfsh::hcrhdescriptora::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 ndp(&mut self) -> _NDPW[src]

Bits 0:7 - NumberDownstreamPorts These bits specify the number of downstream ports supported by the root hub.

pub fn psm(&mut self) -> _PSMW[src]

Bit 8 - PowerSwitchingMode This bit is used to specify how the power switching of the root hub ports is controlled.

pub fn nps(&mut self) -> _NPSW[src]

Bit 9 - NoPowerSwitching These bits are used to specify whether power switching is supported or port are always powered.

pub fn dt(&mut self) -> _DTW[src]

Bit 10 - DeviceType This bit specifies that the root hub is not a compound device.

pub fn ocpm(&mut self) -> _OCPMW[src]

Bit 11 - OverCurrentProtectionMode This bit describes how the overcurrent status for the root hub ports are reported.

pub fn nocp(&mut self) -> _NOCPW[src]

Bit 12 - NoOverCurrentProtection This bit describes how the overcurrent status for the root hub ports are reported.

pub fn potpgt(&mut self) -> _POTPGTW[src]

Bits 24:31 - PowerOnToPowerGoodTime This byte specifies the duration the HCD has to wait before accessing a powered-on port of the root hub.

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