Struct esp32c3::usb_device::conf0::W[][src]

pub struct W(_);
Expand description

Register CONF0 writer

Implementations

Bit 0 - Select internal/external PHY

Bit 1 - Enable software control USB D+ D- exchange

Bit 2 - USB D+ D- exchange

Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV

Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV

Bit 7 - Enable software control input threshold

Bit 8 - Enable software control USB D+ D- pullup pulldown

Bit 9 - Control USB D+ pull up.

Bit 10 - Control USB D+ pull down.

Bit 11 - Control USB D- pull up.

Bit 12 - Control USB D- pull down.

Bit 13 - Control pull up value.

Bit 14 - Enable USB pad function.

Writes raw bits to the register.

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

Performs the conversion.

Performs the conversion.

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.