Home
last modified time | relevance | path

Searched refs:RCC_ClkInitStruct (Results 1 – 7 of 7) sorted by relevance

/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc.c936 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) in HAL_RCC_ClockConfig() argument
945 assert_param(RCC_ClkInitStruct != NULL); in HAL_RCC_ClockConfig()
946 assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType)); in HAL_RCC_ClockConfig()
968 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) in HAL_RCC_ClockConfig()
970 assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); in HAL_RCC_ClockConfig()
973 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) in HAL_RCC_ClockConfig()
987 …(((((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) && (RCC_ClkInitStr… in HAL_RCC_ClockConfig()
999 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) in HAL_RCC_ClockConfig()
1008 else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_MSI) in HAL_RCC_ClockConfig()
1039 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, RCC_ClkInitStruct->SYSCLKSource); in HAL_RCC_ClockConfig()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc.c936 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) in HAL_RCC_ClockConfig() argument
945 assert_param(RCC_ClkInitStruct != NULL); in HAL_RCC_ClockConfig()
946 assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType)); in HAL_RCC_ClockConfig()
968 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) in HAL_RCC_ClockConfig()
970 assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); in HAL_RCC_ClockConfig()
973 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) in HAL_RCC_ClockConfig()
987 …(((((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) && (RCC_ClkInitStr… in HAL_RCC_ClockConfig()
999 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) in HAL_RCC_ClockConfig()
1008 else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_MSI) in HAL_RCC_ClockConfig()
1039 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, RCC_ClkInitStruct->SYSCLKSource); in HAL_RCC_ClockConfig()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/disco_f746ng/
Daudio_provider.cc49 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SetSysClock_PLL_HSE_200MHz() local
78 RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | in SetSysClock_PLL_HSE_200MHz()
80 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; // 200 MHz in SetSysClock_PLL_HSE_200MHz()
81 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; // 200 MHz in SetSysClock_PLL_HSE_200MHz()
82 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4; // 50 MHz in SetSysClock_PLL_HSE_200MHz()
83 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2; // 100 MHz in SetSysClock_PLL_HSE_200MHz()
85 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_7) != HAL_OK) { in SetSysClock_PLL_HSE_200MHz()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dmain.c164 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_Config() local
195 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config()
197 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config()
198 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config()
199 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config()
200 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config()
202 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_4) != HAL_OK) in SystemClock_Config()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dmain.c165 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_Config() local
198 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config()
200 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config()
201 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config()
202 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config()
203 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config()
205 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_4) != HAL_OK) in SystemClock_Config()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc.h4548 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency);
4566 void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency…
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc.h4548 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency);
4566 void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency…