Home
last modified time | relevance | path

Searched refs:RCC_OscInitStruct (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.c400 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) in HAL_RCC_OscConfig() argument
405 assert_param(RCC_OscInitStruct != NULL); in HAL_RCC_OscConfig()
406 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig()
409 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_MSI) == RCC_OSCILLATORTYPE_MSI) in HAL_RCC_OscConfig()
412 assert_param(IS_RCC_MSI(RCC_OscInitStruct->MSIState)); in HAL_RCC_OscConfig()
413 assert_param(IS_RCC_MSICALIBRATION_VALUE(RCC_OscInitStruct->MSICalibrationValue)); in HAL_RCC_OscConfig()
414 assert_param(IS_RCC_MSI_CLOCK_RANGE(RCC_OscInitStruct->MSIClockRange)); in HAL_RCC_OscConfig()
419 … if((READ_BIT(RCC->CR, RCC_CR_MSIRDY) != RESET) && (RCC_OscInitStruct->MSIState == RCC_MSI_OFF)) in HAL_RCC_OscConfig()
430 if(RCC_OscInitStruct->MSIClockRange > __HAL_RCC_GET_MSI_RANGE()) in HAL_RCC_OscConfig()
433 if(RCC_SetFlashLatencyFromMSIRange(RCC_OscInitStruct->MSIClockRange) != HAL_OK) in HAL_RCC_OscConfig()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc.c400 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) in HAL_RCC_OscConfig() argument
405 assert_param(RCC_OscInitStruct != NULL); in HAL_RCC_OscConfig()
406 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig()
409 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_MSI) == RCC_OSCILLATORTYPE_MSI) in HAL_RCC_OscConfig()
412 assert_param(IS_RCC_MSI(RCC_OscInitStruct->MSIState)); in HAL_RCC_OscConfig()
413 assert_param(IS_RCC_MSICALIBRATION_VALUE(RCC_OscInitStruct->MSICalibrationValue)); in HAL_RCC_OscConfig()
414 assert_param(IS_RCC_MSI_CLOCK_RANGE(RCC_OscInitStruct->MSIClockRange)); in HAL_RCC_OscConfig()
419 … if((READ_BIT(RCC->CR, RCC_CR_MSIRDY) != RESET) && (RCC_OscInitStruct->MSIState == RCC_MSI_OFF)) in HAL_RCC_OscConfig()
430 if(RCC_OscInitStruct->MSIClockRange > __HAL_RCC_GET_MSI_RANGE()) in HAL_RCC_OscConfig()
433 if(RCC_SetFlashLatencyFromMSIRange(RCC_OscInitStruct->MSIClockRange) != HAL_OK) in HAL_RCC_OscConfig()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dmain.c164 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()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dmain.c163 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_Config() local
175 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI48|RCC_OSCILLATORTYPE_HSI in SystemClock_Config()
177 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config()
178 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config()
179 RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; in SystemClock_Config()
180 RCC_OscInitStruct.HSICalibrationValue = 64; in SystemClock_Config()
181 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config()
182 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClock_Config()
183RCC_OscInitStruct.PLL.PLLM = 1; // <-- This one gets dropped by V1.11.0 add me manually back in w… in SystemClock_Config()
184 RCC_OscInitStruct.PLL.PLLN = 10; in SystemClock_Config()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/disco_f746ng/
Daudio_provider.cc50 RCC_OscInitTypeDef RCC_OscInitStruct; in SetSysClock_PLL_HSE_200MHz() local
56 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; in SetSysClock_PLL_HSE_200MHz()
57 RCC_OscInitStruct.HSEState = RCC_HSE_ON; /* External xtal on OSC_IN/OSC_OUT */ in SetSysClock_PLL_HSE_200MHz()
60 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SetSysClock_PLL_HSE_200MHz()
61 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; in SetSysClock_PLL_HSE_200MHz()
62 RCC_OscInitStruct.PLL.PLLM = 25; // VCO input clock = 1 MHz (25 MHz / 25) in SetSysClock_PLL_HSE_200MHz()
63 RCC_OscInitStruct.PLL.PLLN = 400; // VCO output clock = 400 MHz (1 MHz * 400) in SetSysClock_PLL_HSE_200MHz()
64 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; // PLLCLK = 200 MHz (400 MHz / 2) in SetSysClock_PLL_HSE_200MHz()
65 RCC_OscInitStruct.PLL.PLLQ = 8; // USB clock = 50 MHz (400 MHz / 8) in SetSysClock_PLL_HSE_200MHz()
67 if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) { in SetSysClock_PLL_HSE_200MHz()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc.h4547 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
4565 void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc.h4547 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
4565 void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);