pub struct LL_UTILS_ClkInitTypeDef {
    pub CPU1CLKDivider: u32,
    pub CPU2CLKDivider: u32,
    pub AHB4CLKDivider: u32,
    pub APB1CLKDivider: u32,
    pub APB2CLKDivider: u32,
}
Expand description

@brief UTILS System, AHB and APB buses clock configuration structure definition

Fields

CPU1CLKDivider: u32

< The CPU1 clock (HCLK1) divider. This clock is derived from the system clock (SYSCLK). This parameter can be a value of @ref RCC_LL_EC_SYSCLK_DIV.

This feature can be modified afterwards using unitary function @ref LL_RCC_SetAHBPrescaler().

CPU2CLKDivider: u32

< The CPU2 clock (HCLK2) divider. This clock is derived from the system clock (SYSCLK). This parameter can be a value of @ref RCC_LL_EC_SYSCLK_DIV.

This feature can be modified afterwards using unitary function @ref LL_C2_RCC_SetAHBPrescaler().

AHB4CLKDivider: u32

< The AHBS clock (HCLK4) divider. This clock is derived from the system clock (SYSCLK). This parameter can be a value of @ref RCC_LL_EC_SYSCLK_DIV.

This feature can be modified afterwards using unitary function @ref LL_RCC_SetAHB4Prescaler().

APB1CLKDivider: u32

< The APB1 clock (PCLK1) divider. This clock is derived from the AHB clock (HCLK1). This parameter can be a value of @ref RCC_LL_EC_APB1_DIV.

This feature can be modified afterwards using unitary function @ref LL_RCC_SetAPB1Prescaler().

APB2CLKDivider: u32

< The APB2 clock (PCLK2) divider. This clock is derived from the AHB clock (HCLK1). This parameter can be a value of @ref RCC_LL_EC_APB2_DIV.

This feature can be modified afterwards using unitary function @ref LL_RCC_SetAPB2Prescaler().

Trait Implementations

Formats the value using the given formatter. Read more

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.