pub struct W(_);
Expand description
Register HCRHDESCRIPTORA
writer
Implementations
sourceimpl W
impl W
sourcepub fn ndp(&mut self) -> NDP_W<'_>
pub fn ndp(&mut self) -> NDP_W<'_>
Bits 0:7 - NumberDownstreamPorts These bits specify the number of downstream ports supported by the root hub.
sourcepub fn psm(&mut self) -> PSM_W<'_>
pub fn psm(&mut self) -> PSM_W<'_>
Bit 8 - PowerSwitchingMode This bit is used to specify how the power switching of the root hub ports is controlled.
sourcepub fn nps(&mut self) -> NPS_W<'_>
pub fn nps(&mut self) -> NPS_W<'_>
Bit 9 - NoPowerSwitching These bits are used to specify whether power switching is supported or port are always powered.
sourcepub fn dt(&mut self) -> DT_W<'_>
pub fn dt(&mut self) -> DT_W<'_>
Bit 10 - DeviceType This bit specifies that the root hub is not a compound device.
sourcepub fn ocpm(&mut self) -> OCPM_W<'_>
pub fn ocpm(&mut self) -> OCPM_W<'_>
Bit 11 - OverCurrentProtectionMode This bit describes how the overcurrent status for the root hub ports are reported.
sourcepub fn nocp(&mut self) -> NOCP_W<'_>
pub fn nocp(&mut self) -> NOCP_W<'_>
Bit 12 - NoOverCurrentProtection This bit describes how the overcurrent status for the root hub ports are reported.
Methods from Deref<Target = W<HCRHDESCRIPTORA_SPEC>>
Trait Implementations
sourceimpl From<W<HCRHDESCRIPTORA_SPEC>> for W
impl From<W<HCRHDESCRIPTORA_SPEC>> for W
sourcefn from(writer: W<HCRHDESCRIPTORA_SPEC>) -> Self
fn from(writer: W<HCRHDESCRIPTORA_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more