| /bsp/stm32/stm32mp157a-st-discovery/board/ |
| A D | board.c | 47 RCC_OscInitStruct.PLL.PLLM = 3; in SystemClock_Config() 48 RCC_OscInitStruct.PLL.PLLN = 81; in SystemClock_Config() 49 RCC_OscInitStruct.PLL.PLLP = 1; in SystemClock_Config() 50 RCC_OscInitStruct.PLL.PLLQ = 1; in SystemClock_Config() 51 RCC_OscInitStruct.PLL.PLLR = 1; in SystemClock_Config() 61 RCC_OscInitStruct.PLL2.PLLM = 3; in SystemClock_Config() 63 RCC_OscInitStruct.PLL2.PLLP = 2; in SystemClock_Config() 64 RCC_OscInitStruct.PLL2.PLLQ = 1; in SystemClock_Config() 65 RCC_OscInitStruct.PLL2.PLLR = 1; in SystemClock_Config() 75 RCC_OscInitStruct.PLL3.PLLM = 2; in SystemClock_Config() [all …]
|
| /bsp/stm32/libraries/templates/stm32mp1xx/board/ |
| A D | board.c | 43 RCC_OscInitStruct.PLL.PLLM = 3; in SystemClock_Config() 44 RCC_OscInitStruct.PLL.PLLN = 81; in SystemClock_Config() 45 RCC_OscInitStruct.PLL.PLLP = 1; in SystemClock_Config() 46 RCC_OscInitStruct.PLL.PLLQ = 1; in SystemClock_Config() 47 RCC_OscInitStruct.PLL.PLLR = 1; in SystemClock_Config() 57 RCC_OscInitStruct.PLL2.PLLM = 3; in SystemClock_Config() 59 RCC_OscInitStruct.PLL2.PLLP = 2; in SystemClock_Config() 60 RCC_OscInitStruct.PLL2.PLLQ = 1; in SystemClock_Config() 61 RCC_OscInitStruct.PLL2.PLLR = 1; in SystemClock_Config() 71 RCC_OscInitStruct.PLL3.PLLM = 2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ |
| A D | board.c | 44 RCC_OscInitStruct.PLL.PLLM = 3; in SystemClock_Config() 45 RCC_OscInitStruct.PLL.PLLN = 81; in SystemClock_Config() 46 RCC_OscInitStruct.PLL.PLLP = 1; in SystemClock_Config() 47 RCC_OscInitStruct.PLL.PLLQ = 1; in SystemClock_Config() 48 RCC_OscInitStruct.PLL.PLLR = 1; in SystemClock_Config() 58 RCC_OscInitStruct.PLL2.PLLM = 3; in SystemClock_Config() 60 RCC_OscInitStruct.PLL2.PLLP = 2; in SystemClock_Config() 61 RCC_OscInitStruct.PLL2.PLLQ = 1; in SystemClock_Config() 62 RCC_OscInitStruct.PLL2.PLLR = 1; in SystemClock_Config() 72 RCC_OscInitStruct.PLL3.PLLM = 2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32l496-ali-developer/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 28 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 29 RCC_OscInitStruct.LSIState = RCC_LSI_ON; in SystemClock_Config() 30 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 31 RCC_OscInitStruct.MSICalibrationValue = 0; in SystemClock_Config() 35 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 36 RCC_OscInitStruct.PLL.PLLN = 40; in SystemClock_Config() 132 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_80M() 133 RCC_OscInitStruct.PLL.PLLN = 20; in SystemClock_80M() 200 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_24M() [all …]
|
| /bsp/stm32/stm32l476-st-nucleo/board/ |
| A D | board.c | 18 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 31 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 35 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 36 RCC_OscInitStruct.PLL.PLLN = 10; in SystemClock_Config() 80 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_MSI_ON() 109 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_80M() local 118 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_80M() 119 RCC_OscInitStruct.PLL.PLLN = 10; in SystemClock_80M() 145 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_24M() local 155 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_24M() [all …]
|
| /bsp/stm32/stm32l475-atk-pandora/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 28 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 29 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 30 RCC_OscInitStruct.LSIState = RCC_LSI_ON; in SystemClock_Config() 33 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 34 RCC_OscInitStruct.PLL.PLLN = 20; in SystemClock_Config() 120 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_80M() local 128 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_80M() 129 RCC_OscInitStruct.PLL.PLLN = 20; in SystemClock_80M() 163 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_24M() [all …]
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_hal_rcc.c | 331 if(RCC_OscInitStruct == NULL) in HAL_RCC_OscConfig() 1192 RCC_OscInitStruct->HSEState = RCC_HSE_ON; in HAL_RCC_GetOscConfig() 1196 RCC_OscInitStruct->HSEState = RCC_HSE_OFF; in HAL_RCC_GetOscConfig() 1202 RCC_OscInitStruct->HSIState = RCC_HSI_ON; in HAL_RCC_GetOscConfig() 1206 RCC_OscInitStruct->HSIState = RCC_HSI_OFF; in HAL_RCC_GetOscConfig() 1214 RCC_OscInitStruct->MSIState = RCC_MSI_ON; in HAL_RCC_GetOscConfig() 1218 RCC_OscInitStruct->MSIState = RCC_MSI_OFF; in HAL_RCC_GetOscConfig() 1231 RCC_OscInitStruct->LSEState = RCC_LSE_ON; in HAL_RCC_GetOscConfig() 1235 RCC_OscInitStruct->LSEState = RCC_LSE_OFF; in HAL_RCC_GetOscConfig() 1241 RCC_OscInitStruct->LSIState = RCC_LSI_ON; in HAL_RCC_GetOscConfig() [all …]
|
| /bsp/stm32/stm32h563-st-nucleo/board/ |
| A D | board.c | 19 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 34 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 35 RCC_OscInitStruct.HSIDiv = RCC_HSI_DIV1; in SystemClock_Config() 37 RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLM = 4; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLN = 250; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLQ = 2; in SystemClock_Config() 44 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32u585-iot02a/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 28 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 30 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_4; in SystemClock_Config() 31 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 34 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 35 RCC_OscInitStruct.PLL.PLLN = 80; in SystemClock_Config() 36 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLQ = 2; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLLVCIRANGE_0; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32wb55-st-nucleo/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 31 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 32 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 33 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 34 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 38 RCC_OscInitStruct.LSIState = RCC_LSI_ON; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLM = RCC_PLLM_DIV1; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLN = 32; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; in SystemClock_Config() 44 RCC_OscInitStruct.PLL.PLLR = RCC_PLLR_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32h747-st-discovery/board/ |
| A D | board.c | 38 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_Config() local 53 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 54 RCC_OscInitStruct.HSIState = RCC_HSI_OFF; in SystemClock_Config() 55 RCC_OscInitStruct.CSIState = RCC_CSI_OFF; in SystemClock_Config() 56 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 59 RCC_OscInitStruct.PLL.PLLM = 5; in SystemClock_Config() 60 RCC_OscInitStruct.PLL.PLLN = 160; in SystemClock_Config() 61 RCC_OscInitStruct.PLL.PLLFRACN = 0; in SystemClock_Config() 62 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 63 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32u575-st-nucleo/board/ |
| A D | board.c | 29 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 42 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 43 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_4; in SystemClock_Config() 45 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 48 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 49 RCC_OscInitStruct.PLL.PLLN = 80; in SystemClock_Config() 50 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() 51 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 52 RCC_OscInitStruct.PLL.PLLQ = 2; in SystemClock_Config() 53 RCC_OscInitStruct.PLL.PLLFRACN= 0; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32l552-st-nucleo/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 33 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 34 RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; in SystemClock_Config() 35 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 37 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_6; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLN = 55; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV7; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/libraries/templates/stm32l5xx/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 33 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 34 RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; in SystemClock_Config() 35 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 37 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_6; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLN = 55; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV7; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32h503-st-nucleo/board/ |
| A D | board.c | 19 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 32 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 33 RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; in SystemClock_Config() 34 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 36 RCC_OscInitStruct.PLL.PLLM = 12; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLN = 250; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLQ = 2; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1_VCIRANGE_1; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32h743-openmv-h7plus/board/ |
| A D | board.c | 17 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 32 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 33 RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; in SystemClock_Config() 34 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 36 RCC_OscInitStruct.PLL.PLLM = 3; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLN = 200; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLQ = 4; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_2; in SystemClock_Config() [all …]
|
| /bsp/stm32/libraries/templates/stm32wbxx/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 32 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 33 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 34 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 35 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 39 RCC_OscInitStruct.LSIState = RCC_LSI_ON; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLM = RCC_PLLM_DIV1; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLN = 32; in SystemClock_Config() 44 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; in SystemClock_Config() 45 RCC_OscInitStruct.PLL.PLLR = RCC_PLLR_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32g491-st-nucleo/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 33 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 34 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 36 RCC_OscInitStruct.LSIState = RCC_LSI_ON; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLM = RCC_PLLM_DIV4; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLN = 85; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32l496-st-discovery/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 35 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 36 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 37 RCC_OscInitStruct.MSICalibrationValue = 0; in SystemClock_Config() 38 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_9; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLM = 5; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLN = 71; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; in SystemClock_Config() 44 RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32wl55-st-nucleo/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 21 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 22 RCC_OscInitStruct.LSEState = RCC_LSE_OFF; in SystemClock_Config() 23 RCC_OscInitStruct.HSICalibrationValue = 70; in SystemClock_Config() 24 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClock_Config() 25 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 26 RCC_OscInitStruct.PLL.PLLM = RCC_PLLM_DIV2; in SystemClock_Config() 27 RCC_OscInitStruct.PLL.PLLN = 30; in SystemClock_Config() 28 RCC_OscInitStruct.PLL.PLLR = RCC_PLLR_DIV5; in SystemClock_Config() 29 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV5; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32wle5-yizhilian-lm401/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 21 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 22 RCC_OscInitStruct.LSEState = RCC_LSE_OFF; in SystemClock_Config() 23 RCC_OscInitStruct.HSICalibrationValue = 70; in SystemClock_Config() 24 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClock_Config() 25 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 26 RCC_OscInitStruct.PLL.PLLM = RCC_PLLM_DIV2; in SystemClock_Config() 27 RCC_OscInitStruct.PLL.PLLN = 30; in SystemClock_Config() 28 RCC_OscInitStruct.PLL.PLLR = RCC_PLLR_DIV5; in SystemClock_Config() 29 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV5; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32f107-uc-eval/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 21 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; in SystemClock_Config() 22 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 23 RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV5; in SystemClock_Config() 24 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClock_Config() 26 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 27 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; in SystemClock_Config() 28 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL9; in SystemClock_Config() 29 RCC_OscInitStruct.PLL2.PLL2State = RCC_PLL2_ON; in SystemClock_Config() 30 RCC_OscInitStruct.PLL2.PLL2MUL = RCC_PLL2_MUL8; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32h743-armfly-v7/board/ |
| A D | board.c | 15 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 30 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 31 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 33 RCC_OscInitStruct.PLL.PLLM = 5; in SystemClock_Config() 34 RCC_OscInitStruct.PLL.PLLN = 160; in SystemClock_Config() 35 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 36 RCC_OscInitStruct.PLL.PLLQ = 2; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_2; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLVCOSEL = RCC_PLL1VCOWIDE; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32l431-BearPi/board/ |
| A D | board.c | 16 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClock_Config() local 30 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClock_Config() 31 RCC_OscInitStruct.LSIState = RCC_LSI_ON; in SystemClock_Config() 32 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClock_Config() 33 RCC_OscInitStruct.MSICalibrationValue = 0; in SystemClock_Config() 35 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLN = 16; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV7; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32h743-st-nucleo/board/ |
| A D | board.c | 19 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; in SystemClock_Config() local 34 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClock_Config() 35 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClock_Config() 37 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClock_Config() 38 RCC_OscInitStruct.PLL.PLLN = 120; in SystemClock_Config() 39 RCC_OscInitStruct.PLL.PLLP = 2; in SystemClock_Config() 40 RCC_OscInitStruct.PLL.PLLQ = 2; in SystemClock_Config() 41 RCC_OscInitStruct.PLL.PLLR = 2; in SystemClock_Config() 42 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_3; in SystemClock_Config() 43 RCC_OscInitStruct.PLL.PLLVCOSEL = RCC_PLL1VCOWIDE; in SystemClock_Config() [all …]
|