Searched refs:PeriphClkInit (Results 1 – 6 of 6) sorted by relevance
203 HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit) in HAL_RCCEx_PeriphCLKConfig() argument211 assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection)); in HAL_RCCEx_PeriphCLKConfig()214 if((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1)) in HAL_RCCEx_PeriphCLKConfig()217 assert_param(IS_RCC_SAI1CLK(PeriphClkInit->Sai1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()219 switch(PeriphClkInit->Sai1ClockSelection) in HAL_RCCEx_PeriphCLKConfig()233 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()241 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()262 __HAL_RCC_SAI1_CONFIG(PeriphClkInit->Sai1ClockSelection); in HAL_RCCEx_PeriphCLKConfig()274 if((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2)) in HAL_RCCEx_PeriphCLKConfig()277 assert_param(IS_RCC_SAI2CLK(PeriphClkInit->Sai2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()[all …]
165 RCC_PeriphCLKInitTypeDef PeriphClkInit; in SystemClock_Config() local207 PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_RTC|RCC_PERIPHCLK_USART2 in SystemClock_Config()209 PeriphClkInit.Usart2ClockSelection = RCC_USART2CLKSOURCE_PCLK1; in SystemClock_Config()210 PeriphClkInit.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; in SystemClock_Config()211 PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_HSI48; in SystemClock_Config()212 PeriphClkInit.RngClockSelection = RCC_RNGCLKSOURCE_HSI48; in SystemClock_Config()213 if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK) in SystemClock_Config()
166 RCC_PeriphCLKInitTypeDef PeriphClkInit; in SystemClock_Config() local210 PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_RTC|RCC_PERIPHCLK_USART2 in SystemClock_Config()212 PeriphClkInit.Usart2ClockSelection = RCC_USART2CLKSOURCE_PCLK1; in SystemClock_Config()213 PeriphClkInit.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; in SystemClock_Config()214 PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_MSI; in SystemClock_Config()215 PeriphClkInit.RngClockSelection = RCC_RNGCLKSOURCE_MSI; in SystemClock_Config()216 if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK) in SystemClock_Config()
2331 HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);2332 void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);