Struct stm32f1xx_hal::pac::rcc::cfgr::W

source ·
pub struct W(_);
Expand description

Register CFGR writer

Implementations§

Bits 0:1 - System clock Switch

Bits 4:7 - AHB prescaler

Bits 8:10 - APB Low speed prescaler (APB1)

Bits 11:13 - APB High speed prescaler (APB2)

Bits 14:15 - ADC prescaler

Bit 16 - PLL entry clock source

Bit 17 - HSE divider for PLL entry

Bits 18:21 - PLL Multiplication Factor

Bit 22 - USB prescaler

Bits 24:26 - Microcontroller clock output

Writes raw bits to the register.

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