Lines Matching +full:pll +full:- +full:enable

5  * SPDX-License-Identifier: Apache-2.0
21 * @brief Set up pll configuration
29 * PLL MUL in config_pll_sysclock()
30 * 2 -> LL_RCC_PLL_MUL_2 -> 0x00000000 in config_pll_sysclock()
31 * 3 -> LL_RCC_PLL_MUL_3 -> 0x00040000 in config_pll_sysclock()
32 * 4 -> LL_RCC_PLL_MUL_4 -> 0x00080000 in config_pll_sysclock()
34 * 16 -> LL_RCC_PLL_MUL_16 -> 0x00380000 in config_pll_sysclock()
36 pll_mul = ((STM32_PLL_MULTIPLIER - 2) << RCC_CFGR_PLLMUL_Pos); in config_pll_sysclock()
39 * PLL PREDIV in config_pll_sysclock()
40 * 1 -> LL_RCC_PREDIV_DIV_1 -> 0x00000000 in config_pll_sysclock()
41 * 2 -> LL_RCC_PREDIV_DIV_2 -> 0x00000001 in config_pll_sysclock()
42 * 3 -> LL_RCC_PREDIV_DIV_3 -> 0x00000002 in config_pll_sysclock()
44 * 16 -> LL_RCC_PREDIV_DIV_16 -> 0x0000000F in config_pll_sysclock()
46 pll_div = STM32_PLL_PREDIV - 1; in config_pll_sysclock()
56 /* Configure PLL source */ in config_pll_sysclock()
67 /* Configure PLL source */ in config_pll_sysclock()
89 * PLL MUL in get_pllout_frequency()
90 * 2 -> LL_RCC_PLL_MUL_2 -> 0x00000000 in get_pllout_frequency()
91 * 3 -> LL_RCC_PLL_MUL_3 -> 0x00040000 in get_pllout_frequency()
92 * 4 -> LL_RCC_PLL_MUL_4 -> 0x00080000 in get_pllout_frequency()
94 * 16 -> LL_RCC_PLL_MUL_16 -> 0x00380000 in get_pllout_frequency()
96 pll_mul = ((STM32_PLL_MULTIPLIER - 2) << RCC_CFGR_PLLMUL_Pos); in get_pllout_frequency()
99 * PLL PREDIV in get_pllout_frequency()
100 * 1 -> LL_RCC_PREDIV_DIV_1 -> 0x00000000 in get_pllout_frequency()
101 * 2 -> LL_RCC_PREDIV_DIV_2 -> 0x00000001 in get_pllout_frequency()
102 * 3 -> LL_RCC_PREDIV_DIV_3 -> 0x00000002 in get_pllout_frequency()
104 * 16 -> LL_RCC_PREDIV_DIV_16 -> 0x0000000F in get_pllout_frequency()
106 pll_div = STM32_PLL_PREDIV - 1; in get_pllout_frequency()
116 /* Configure PLL source */ in get_pllout_frequency()
127 /* Configure PLL source */ in get_pllout_frequency()
147 /* Enable PWR clock, required to access BDCR and PWR_CR */ in config_enable_default_clocks()
152 /* Enable System Configuration Controller clock. */ in config_enable_default_clocks()
157 /* Enable System Configuration Controller clock. */ in config_enable_default_clocks()