pub struct W(_);
Expand description

Register HCRHDESCRIPTORA writer

Implementations

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

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

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

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

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

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

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

Writes raw bits to the register.

Methods from Deref<Target = W<HCRHDESCRIPTORA_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.