Struct esp32_hal::pac::sdmmc::clkdiv::R

pub struct R(_);
Expand description

Register CLKDIV reader

Implementations§

Bits 0:7 - Clock divider0 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.

Bits 8:15 - Clock divider1 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.

Bits 16:23 - Clock divider2 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.

Bits 24:31 - Clock divider3 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.

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