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

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

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

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

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

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

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

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

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

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

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

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

pub fn potpgt(&self) -> POTPGTR[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 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