Home
last modified time | relevance | path

Searched refs:PeriphClkInit (Results 1 – 6 of 6) sorted by relevance

/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc_ex.c203 HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit) in HAL_RCCEx_PeriphCLKConfig() argument
211 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 …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc_ex.c203 HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit) in HAL_RCCEx_PeriphCLKConfig() argument
211 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 …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dmain.c165 RCC_PeriphCLKInitTypeDef PeriphClkInit; in SystemClock_Config() local
207 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()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dmain.c166 RCC_PeriphCLKInitTypeDef PeriphClkInit; in SystemClock_Config() local
210 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()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc_ex.h2331 HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);
2332 void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc_ex.h2331 HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);
2332 void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);