| /bsp/stm32/stm32l476-st-nucleo/board/ |
| A D | board.c | 19 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 49 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 50 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 51 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 76 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_MSI_ON() local 110 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_80M() local 134 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_80M() 135 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_80M() 146 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_24M() local 169 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_24M() [all …]
|
| /bsp/stm32/stm32l496-ali-developer/board/ |
| A D | board.c | 17 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 49 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 50 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 51 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 91 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_MSI_ON() local 125 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_80M() local 148 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_80M() 149 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_80M() 159 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config_fromSTOP() local 193 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_24M() local [all …]
|
| /bsp/stm32/stm32l475-atk-pandora/board/ |
| A D | board.c | 17 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 47 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 48 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 49 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 87 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_MSI_ON() local 121 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_80M() local 144 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_80M() 145 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_80M() 156 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_24M() local 177 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_24M() [all …]
|
| /bsp/stm32/stm32h723-st-nucleo/board/ |
| A D | board.c | 20 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 47 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 50 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI; in SystemClock_Config() 51 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 52 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 53 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV1; in SystemClock_Config() 54 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 55 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV1; in SystemClock_Config() 56 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV1; in SystemClock_Config() 58 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h743-armfly-v7/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 47 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 50 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 51 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 52 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 53 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 54 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 55 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 56 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 58 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h743-openmv-h7plus/board/ |
| A D | board.c | 18 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 50 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 53 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 54 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 55 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 56 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 57 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 58 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 59 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 61 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h743-st-nucleo/board/ |
| A D | board.c | 20 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 51 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 54 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 55 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 56 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 57 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 58 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 59 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 60 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 62 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_4) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h747-st-discovery/board/ |
| A D | board.c | 37 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClock_Config() local 75 …RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_D1PCLK1 |… in SystemClock_Config() 78 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 79 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 80 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 81 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 82 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 83 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 84 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 85 ret = HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_4); in SystemClock_Config()
|
| /bsp/stm32/libraries/templates/stm32h7xx/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 50 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 53 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 54 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 55 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 56 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 57 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 58 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 59 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 61 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32wle5-yizhilian-lm402/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 34 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK3|RCC_CLOCKTYPE_HCLK in SystemClock_Config() 37 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_MSI; in SystemClock_Config() 38 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 39 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 40 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 41 RCC_ClkInitStruct.AHBCLK3Divider = RCC_SYSCLK_DIV1; in SystemClock_Config() 43 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/libraries/templates/stm32mp1xx/board/ |
| A D | board.c | 22 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 107 RCC_ClkInitStruct.MPUInit.MPU_Clock = RCC_MPUSOURCE_PLL1; in SystemClock_Config() 108 RCC_ClkInitStruct.MPUInit.MPU_Div = RCC_MPU_DIV2; in SystemClock_Config() 110 RCC_ClkInitStruct.AXISSInit.AXI_Div = RCC_AXI_DIV1; in SystemClock_Config() 112 RCC_ClkInitStruct.MCUInit.MCU_Div = RCC_MCU_DIV1; in SystemClock_Config() 113 RCC_ClkInitStruct.APB4_Div = RCC_APB4_DIV2; in SystemClock_Config() 114 RCC_ClkInitStruct.APB5_Div = RCC_APB5_DIV4; in SystemClock_Config() 115 RCC_ClkInitStruct.APB1_Div = RCC_APB1_DIV2; in SystemClock_Config() 116 RCC_ClkInitStruct.APB2_Div = RCC_APB2_DIV2; in SystemClock_Config() 117 RCC_ClkInitStruct.APB3_Div = RCC_APB3_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32mp157a-st-discovery/board/ |
| A D | board.c | 22 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 111 RCC_ClkInitStruct.MPUInit.MPU_Clock = RCC_MPUSOURCE_PLL1; in SystemClock_Config() 112 RCC_ClkInitStruct.MPUInit.MPU_Div = RCC_MPU_DIV2; in SystemClock_Config() 114 RCC_ClkInitStruct.AXISSInit.AXI_Div = RCC_AXI_DIV1; in SystemClock_Config() 116 RCC_ClkInitStruct.MCUInit.MCU_Div = RCC_MCU_DIV1; in SystemClock_Config() 117 RCC_ClkInitStruct.APB4_Div = RCC_APB4_DIV2; in SystemClock_Config() 118 RCC_ClkInitStruct.APB5_Div = RCC_APB5_DIV4; in SystemClock_Config() 119 RCC_ClkInitStruct.APB1_Div = RCC_APB1_DIV2; in SystemClock_Config() 120 RCC_ClkInitStruct.APB2_Div = RCC_APB2_DIV2; in SystemClock_Config() 121 RCC_ClkInitStruct.APB3_Div = RCC_APB3_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ |
| A D | board.c | 23 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 108 RCC_ClkInitStruct.MPUInit.MPU_Clock = RCC_MPUSOURCE_PLL1; in SystemClock_Config() 109 RCC_ClkInitStruct.MPUInit.MPU_Div = RCC_MPU_DIV2; in SystemClock_Config() 111 RCC_ClkInitStruct.AXISSInit.AXI_Div = RCC_AXI_DIV1; in SystemClock_Config() 113 RCC_ClkInitStruct.MCUInit.MCU_Div = RCC_MCU_DIV1; in SystemClock_Config() 114 RCC_ClkInitStruct.APB4_Div = RCC_APB4_DIV2; in SystemClock_Config() 115 RCC_ClkInitStruct.APB5_Div = RCC_APB5_DIV4; in SystemClock_Config() 116 RCC_ClkInitStruct.APB1_Div = RCC_APB1_DIV2; in SystemClock_Config() 117 RCC_ClkInitStruct.APB2_Div = RCC_APB2_DIV2; in SystemClock_Config() 118 RCC_ClkInitStruct.APB3_Div = RCC_APB3_DIV2; in SystemClock_Config() [all …]
|
| /bsp/stm32/stm32h743-atk-apollo/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 57 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 60 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 61 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 62 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 63 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 64 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 65 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 66 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 68 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h7s7-st-disco/board/CubeMX_Config/Boot/Core/Src/ |
| A D | main.c | 73 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 106 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 109 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 110 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 111 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 112 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 113 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 114 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 115 RCC_ClkInitStruct.APB5CLKDivider = RCC_APB5_DIV2; in SystemClock_Config() 117 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h750-armfly-h7-tool/board/ |
| A D | board.c | 20 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 55 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 58 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 59 RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 60 RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 61 RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2; in SystemClock_Config() 62 RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2; in SystemClock_Config() 63 RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2; in SystemClock_Config() 64 RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2; in SystemClock_Config() 66 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32u585-iot02a/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 48 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 51 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 52 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 53 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 54 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 55 RCC_ClkInitStruct.APB3CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 57 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_4) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h503-st-nucleo/board/ |
| A D | board.c | 20 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 51 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 54 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 55 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 56 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 57 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 58 RCC_ClkInitStruct.APB3CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 60 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32f103-onenet-nbiot/board/ |
| A D | board.c | 21 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 37 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 39 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 40 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 41 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 42 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 44 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32h563-st-nucleo/board/ |
| A D | board.c | 20 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 55 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 58 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 59 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 60 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 61 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 62 RCC_ClkInitStruct.APB3CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 64 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/libraries/templates/stm32f10x/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 33 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 35 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 36 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 37 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 38 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 40 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/libraries/templates/stm32f2xx/board/ |
| A D | board.c | 16 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 34 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 36 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 37 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 38 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4; in SystemClock_Config() 39 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 41 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32f103-dofly-M3S/board/ |
| A D | board.c | 18 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 35 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 37 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 38 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 39 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 40 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 42 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32f103-gizwits-gokitv21/board/ |
| A D | board.c | 21 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 38 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 40 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 41 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 42 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 43 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 45 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|
| /bsp/stm32/stm32f103-atk-warshipv3/board/ |
| A D | board.c | 17 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; in SystemClock_Config() local 34 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK in SystemClock_Config() 36 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClock_Config() 37 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClock_Config() 38 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; in SystemClock_Config() 39 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClock_Config() 41 if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) in SystemClock_Config()
|