Lines Matching refs:RCC_OscInitStruct
164 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_Config() local
176 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_LSE in SystemClock_Config()
178 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config()
179 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config()
180 RCC_OscInitStruct.HSICalibrationValue = 16; in SystemClock_Config()
181 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config()
182 RCC_OscInitStruct.MSICalibrationValue = 0; in SystemClock_Config()
183 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_11; in SystemClock_Config()
184 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config()
185 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClock_Config()
186 …RCC_OscInitStruct.PLL.PLLM = 1; // <-- This one gets dropped by V1.11.0 add me manually back in w… in SystemClock_Config()
187 RCC_OscInitStruct.PLL.PLLN = 10; in SystemClock_Config()
188 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV7; in SystemClock_Config()
189 RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2; in SystemClock_Config()
190 RCC_OscInitStruct.PLL.PLLR = RCC_PLLR_DIV2; in SystemClock_Config()
191 if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) in SystemClock_Config()