/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_rcc.c | 747 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) in HAL_RCC_ClockConfig() argument 752 assert_param(RCC_ClkInitStruct != NULL); in HAL_RCC_ClockConfig() 753 assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType)); in HAL_RCC_ClockConfig() 775 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) in HAL_RCC_ClockConfig() 777 assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); in HAL_RCC_ClockConfig() 778 MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); in HAL_RCC_ClockConfig() 782 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) in HAL_RCC_ClockConfig() 784 assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); in HAL_RCC_ClockConfig() 787 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) in HAL_RCC_ClockConfig() 796 else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) in HAL_RCC_ClockConfig() [all …]
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_rcc.c | 823 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) in HAL_RCC_ClockConfig() argument 828 assert_param(RCC_ClkInitStruct != NULL); in HAL_RCC_ClockConfig() 829 assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType)); in HAL_RCC_ClockConfig() 851 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) in HAL_RCC_ClockConfig() 853 assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); in HAL_RCC_ClockConfig() 854 MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); in HAL_RCC_ClockConfig() 858 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) in HAL_RCC_ClockConfig() 860 assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); in HAL_RCC_ClockConfig() 863 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) in HAL_RCC_ClockConfig() 872 else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) in HAL_RCC_ClockConfig() [all …]
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rcc.c | 1044 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) in HAL_RCC_ClockConfig() argument 1053 if(RCC_ClkInitStruct == NULL) in HAL_RCC_ClockConfig() 1059 assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType)); in HAL_RCC_ClockConfig() 1081 if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) in HAL_RCC_ClockConfig() 1083 assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); in HAL_RCC_ClockConfig() 1086 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) in HAL_RCC_ClockConfig() 1104 …else if((((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) && (RCC_ClkI… in HAL_RCC_ClockConfig() 1120 if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) in HAL_RCC_ClockConfig() 1129 else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_MSI) in HAL_RCC_ClockConfig() 1158 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, RCC_ClkInitStruct->SYSCLKSource); in HAL_RCC_ClockConfig() [all …]
|
/loramac-node-latest/src/boards/NucleoL476/ |
D | board.c | 356 RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 }; in SystemClockConfig() local 380 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | in SystemClockConfig() 382 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 383 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 384 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 385 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 386 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_4 ) != HAL_OK ) in SystemClockConfig() 481 RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 }; in SystemClockReConfig() local 507 HAL_RCC_GetClockConfig(&RCC_ClkInitStruct, &pFLatency); in SystemClockReConfig() 510 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSCLK; in SystemClockReConfig() [all …]
|
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/ |
D | board.c | 216 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClockConfig() local 237 …RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | R… in SystemClockConfig() 238 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 239 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 240 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 241 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 242 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/SKiM881AXL/ |
D | board.c | 322 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClockConfig() local 342 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSCLK; in SystemClockConfig() 343 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 344 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 345 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 346 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 347 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/SKiM980A/ |
D | board.c | 350 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClockConfig() local 369 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | in SystemClockConfig() 371 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 372 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 373 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 374 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 375 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/NucleoL073/ |
D | board.c | 349 RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 }; in SystemClockConfig() local 370 …RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | R… in SystemClockConfig() 371 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 372 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 373 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 374 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 375 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/NucleoL152/ |
D | board.c | 349 RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 }; in SystemClockConfig() local 370 …RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | R… in SystemClockConfig() 371 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 372 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 373 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 374 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 375 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/SKiM880B/ |
D | board.c | 350 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClockConfig() local 369 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | in SystemClockConfig() 371 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 372 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 373 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 374 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 375 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/NAMote72/ |
D | board.c | 422 RCC_ClkInitTypeDef RCC_ClkInitStruct; in SystemClockConfig() local 441 RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | in SystemClockConfig() 443 RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; in SystemClockConfig() 444 RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; in SystemClockConfig() 445 RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 446 RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; in SystemClockConfig() 447 if( HAL_RCC_ClockConfig( &RCC_ClkInitStruct, FLASH_LATENCY_1 ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_rcc.h | 1705 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency); 1729 void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatenc…
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_hal_rcc.h | 1866 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency); 1889 void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatenc…
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rcc.h | 4695 HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency); 4713 void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency…
|