pub struct W(_);
Expand description

Register GCCFG writer

Implementations

Bit 16 - Power down

Bit 17 - Battery charging detector (BCD) enable

Bit 18 - Data contact detection (DCD) mode enable

Bit 19 - Primary detection (PD) mode enable

Bit 20 - Secondary detection (SD) mode enable

Bit 21 - USB VBUS detection enable

Bit 0 - Data contact detection (DCD) status

Bit 1 - Primary detection (PD) status

Bit 2 - Secondary detection (SD) status

Bit 3 - DM pull-up detection status

Writes raw bits to the register.

Methods from Deref<Target = W<GCCFG_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

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.