/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_rcc.c | 299 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) in HAL_RCC_OscConfig() argument 304 assert_param(RCC_OscInitStruct != NULL); in HAL_RCC_OscConfig() 305 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig() 308 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) in HAL_RCC_OscConfig() 311 assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); in HAL_RCC_OscConfig() 317 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) in HAL_RCC_OscConfig() 325 __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); in HAL_RCC_OscConfig() 329 if(RCC_OscInitStruct->HSEState != RCC_HSE_OFF) in HAL_RCC_OscConfig() 360 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) in HAL_RCC_OscConfig() 363 assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); in HAL_RCC_OscConfig() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_rcc.c | 330 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) in HAL_RCC_OscConfig() argument 335 assert_param(RCC_OscInitStruct != NULL); in HAL_RCC_OscConfig() 336 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig() 339 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) in HAL_RCC_OscConfig() 342 assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); in HAL_RCC_OscConfig() 348 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) in HAL_RCC_OscConfig() 356 __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); in HAL_RCC_OscConfig() 360 if(RCC_OscInitStruct->HSEState != RCC_HSE_OFF) in HAL_RCC_OscConfig() 391 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) in HAL_RCC_OscConfig() 394 assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); in HAL_RCC_OscConfig() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rcc.c | 416 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) in HAL_RCC_OscConfig() argument 423 if(RCC_OscInitStruct == NULL) in HAL_RCC_OscConfig() 429 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig() 435 if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_MSI) == RCC_OSCILLATORTYPE_MSI) in HAL_RCC_OscConfig() 438 assert_param(IS_RCC_MSI(RCC_OscInitStruct->MSIState)); in HAL_RCC_OscConfig() 439 assert_param(IS_RCC_MSICALIBRATION_VALUE(RCC_OscInitStruct->MSICalibrationValue)); in HAL_RCC_OscConfig() 440 assert_param(IS_RCC_MSI_CLOCK_RANGE(RCC_OscInitStruct->MSIClockRange)); in HAL_RCC_OscConfig() 446 if((READ_BIT(RCC->CR, RCC_CR_MSIRDY) != 0U) && (RCC_OscInitStruct->MSIState == RCC_MSI_OFF)) in HAL_RCC_OscConfig() 457 if(RCC_OscInitStruct->MSIClockRange > __HAL_RCC_GET_MSI_RANGE()) in HAL_RCC_OscConfig() 460 if(RCC_SetFlashLatencyFromMSIRange(RCC_OscInitStruct->MSIClockRange) != HAL_OK) in HAL_RCC_OscConfig() [all …]
|
/loramac-node-3.7.0/src/boards/NucleoL476/ |
D | board.c | 355 RCC_OscInitTypeDef RCC_OscInitStruct = { 0 }; in SystemClockConfig() local 363 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_MSI | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 364 RCC_OscInitStruct.MSIState = RCC_MSI_ON; in SystemClockConfig() 365 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 366 RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_6; in SystemClockConfig() 367 RCC_OscInitStruct.MSICalibrationValue = RCC_MSICALIBRATION_DEFAULT; in SystemClockConfig() 368 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 369 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_MSI; in SystemClockConfig() 370 RCC_OscInitStruct.PLL.PLLM = 1; in SystemClockConfig() 371 RCC_OscInitStruct.PLL.PLLN = 40; in SystemClockConfig() [all …]
|
/loramac-node-3.7.0/src/boards/B-L072Z-LRWAN1/ |
D | board.c | 215 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClockConfig() local 223 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 224 RCC_OscInitStruct.HSEState = RCC_HSE_OFF; in SystemClockConfig() 225 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClockConfig() 226 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 227 RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; in SystemClockConfig() 228 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 229 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClockConfig() 230 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLLMUL_6; in SystemClockConfig() 231 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLLDIV_3; in SystemClockConfig() [all …]
|
/loramac-node-3.7.0/src/boards/NucleoL073/ |
D | board.c | 348 RCC_OscInitTypeDef RCC_OscInitStruct = { 0 }; in SystemClockConfig() local 356 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 357 RCC_OscInitStruct.HSEState = RCC_HSE_OFF; in SystemClockConfig() 358 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClockConfig() 359 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 360 RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; in SystemClockConfig() 361 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 362 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClockConfig() 363 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLLMUL_6; in SystemClockConfig() 364 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLLDIV_3; in SystemClockConfig() [all …]
|
/loramac-node-3.7.0/src/boards/NucleoL152/ |
D | board.c | 348 RCC_OscInitTypeDef RCC_OscInitStruct = { 0 }; in SystemClockConfig() local 356 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 357 RCC_OscInitStruct.HSEState = RCC_HSE_OFF; in SystemClockConfig() 358 RCC_OscInitStruct.HSIState = RCC_HSI_ON; in SystemClockConfig() 359 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 360 RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; in SystemClockConfig() 361 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 362 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; in SystemClockConfig() 363 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6; in SystemClockConfig() 364 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLL_DIV3; in SystemClockConfig() [all …]
|
/loramac-node-3.7.0/src/boards/SKiM881AXL/ |
D | board.c | 321 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClockConfig() local 330 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 331 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClockConfig() 332 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 333 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 334 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; in SystemClockConfig() 335 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLLMUL_4; in SystemClockConfig() 336 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLLDIV_2; in SystemClockConfig() 337 if( HAL_RCC_OscConfig( &RCC_OscInitStruct ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-3.7.0/src/boards/SKiM980A/ |
D | board.c | 349 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClockConfig() local 357 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 358 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClockConfig() 359 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 360 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 361 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; in SystemClockConfig() 362 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6; in SystemClockConfig() 363 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLL_DIV3; in SystemClockConfig() 364 if( HAL_RCC_OscConfig( &RCC_OscInitStruct ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-3.7.0/src/boards/SKiM880B/ |
D | board.c | 349 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClockConfig() local 357 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 358 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClockConfig() 359 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 360 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 361 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; in SystemClockConfig() 362 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6; in SystemClockConfig() 363 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLL_DIV3; in SystemClockConfig() 364 if( HAL_RCC_OscConfig( &RCC_OscInitStruct ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-3.7.0/src/boards/NAMote72/ |
D | board.c | 421 RCC_OscInitTypeDef RCC_OscInitStruct; in SystemClockConfig() local 429 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_LSE; in SystemClockConfig() 430 RCC_OscInitStruct.HSEState = RCC_HSE_ON; in SystemClockConfig() 431 RCC_OscInitStruct.LSEState = RCC_LSE_ON; in SystemClockConfig() 432 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; in SystemClockConfig() 433 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; in SystemClockConfig() 434 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL12; in SystemClockConfig() 435 RCC_OscInitStruct.PLL.PLLDIV = RCC_PLL_DIV3; in SystemClockConfig() 436 if( HAL_RCC_OscConfig( &RCC_OscInitStruct ) != HAL_OK ) in SystemClockConfig()
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_rcc.h | 1704 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); 1728 void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_hal_rcc.h | 1865 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); 1888 void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rcc.h | 4694 HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); 4712 void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
|