Lines Matching refs:pPLLInit

129 static HAL_StatusTypeDef RCC_PLL_Config(uint32_t PLLnumber, const RCC_PLLInitTypeDef *pPLLInit);
131 static uint32_t RCC_PLL_IsNewConfig(uint32_t PLLnumber, const RCC_PLLInitTypeDef *pPLLInit);
2024 static HAL_StatusTypeDef RCC_PLL_Config(uint32_t PLLnumber, const RCC_PLLInitTypeDef *pPLLInit) in RCC_PLL_Config() argument
2037 if (pPLLInit->PLLState == RCC_PLL_ON) in RCC_PLL_Config()
2040 assert_param(IS_RCC_PLLSOURCE(pPLLInit->PLLSource)); in RCC_PLL_Config()
2041 assert_param(IS_RCC_PLLFRACN_VALUE(pPLLInit->PLLFractional)); in RCC_PLL_Config()
2042 assert_param(IS_RCC_PLLM_VALUE(pPLLInit->PLLM)); in RCC_PLL_Config()
2043 assert_param(IS_RCC_PLLN_VALUE(pPLLInit->PLLN)); in RCC_PLL_Config()
2044 assert_param(IS_RCC_PLLP_VALUE(pPLLInit->PLLP1)); in RCC_PLL_Config()
2045 assert_param(IS_RCC_PLLP_VALUE(pPLLInit->PLLP2)); in RCC_PLL_Config()
2070 (pPLLInit->PLLSource | (pPLLInit->PLLM << RCC_PLL1CFGR1_PLL1DIVM_Pos) \ in RCC_PLL_Config()
2071 | (pPLLInit->PLLN << RCC_PLL1CFGR1_PLL1DIVN_Pos))); in RCC_PLL_Config()
2073 …((pPLLInit->PLLP1 << RCC_PLL1CFGR3_PLL1PDIV1_Pos) | (pPLLInit->PLLP2 << RCC_PLL1CFGR3_PLL1PDIV2_Po… in RCC_PLL_Config()
2077 pPLLInit->PLLFractional << RCC_PLL1CFGR2_PLL1DIVNFRAC_Pos); in RCC_PLL_Config()
2083 if (pPLLInit->PLLFractional != 0U) in RCC_PLL_Config()
2107 else if (pPLLInit->PLLState == RCC_PLL_BYPASS) in RCC_PLL_Config()
2109 assert_param(IS_RCC_PLLSOURCE(pPLLInit->PLLSource)); in RCC_PLL_Config()
2112 if (RCC_PLL_Source_IsReady(pPLLInit->PLLSource) == 1U) in RCC_PLL_Config()
2131 (RCC_PLL1CFGR1_PLL1BYP | pPLLInit->PLLSource)); in RCC_PLL_Config()
2138 else if (pPLLInit->PLLState == RCC_PLL_OFF) in RCC_PLL_Config()
2205 static uint32_t RCC_PLL_IsNewConfig(uint32_t PLLnumber, const RCC_PLLInitTypeDef *pPLLInit) in RCC_PLL_IsNewConfig() argument
2220 (pPLLInit->PLLSource | (pPLLInit->PLLM << RCC_PLL1CFGR1_PLL1DIVM_Pos) \ in RCC_PLL_IsNewConfig()
2221 | (pPLLInit->PLLN << RCC_PLL1CFGR1_PLL1DIVN_Pos))) in RCC_PLL_IsNewConfig()
2226 (pPLLInit->PLLFractional << RCC_PLL1CFGR2_PLL1DIVNFRAC_Pos)) in RCC_PLL_IsNewConfig()
2231 …((pPLLInit->PLLP1 << RCC_PLL1CFGR3_PLL1PDIV1_Pos) | (pPLLInit->PLLP2 << RCC_PLL1CFGR3_PLL1PDIV2_Po… in RCC_PLL_IsNewConfig()
2258 if (pllState != pPLLInit->PLLState) in RCC_PLL_IsNewConfig()