pub struct W(_);
Expand description

Register PORTMODE writer

Implementations

Bit 16 - If this bit is set to one, one of the ports will behave as a USB device.

Bit 18 - This bit indicates if the PHY power-down input is controlled by software or by hardware.

Bit 19 - This bit is only used when SW_CTRL_PDCOM is set to 1b.

Writes raw bits to the register.

Methods from Deref<Target = W<PORTMODE_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.