Struct esp32s3::usb_device::conf0::R

source ·
pub struct R(_);
Expand description

Register CONF0 reader

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.

Bit 15 - 0: TX output at clock negedge. 1: Tx output at clock posedge.

Bit 16 - Set this bit usb_jtag, the connection between usb_jtag and internal JTAG is disconnected, and MTMS, MTDI, MTCK are output through GPIO Matrix, MTDO is input through GPIO Matrix.

Methods from Deref<Target = R<CONF0_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.
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.