[][src]Type Definition lpc55s6x_pac::usbfsh::hcrhdescriptora::R

type R = R<u32, HCRHDESCRIPTORA>;

Reader of register HCRHDESCRIPTORA

Methods

impl R[src]

pub fn ndp(&self) -> NDP_R[src]

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

pub fn psm(&self) -> PSM_R[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) -> NPS_R[src]

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

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

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

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

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

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

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

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