Struct esp32c2_hal::pac::i2c0::clk_conf::R

pub struct R(_);
Expand description

Register CLK_CONF reader

Implementations

Bits 0:7 - the integral part of the fractional divisor for i2c module

Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module

Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module

Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz.

Bit 21 - The clock switch for i2c module

Methods from Deref<Target = R<CLK_CONF_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.