[−][src]Struct lpc55s6x_pac::usbfsh::hcrhdescriptora::W
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
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self