|
STM32F103xB HAL User Manual
|
Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses clocks and different peripheral clocks available on the device. More...
Functions | |
| void | LL_RCC_GetSystemClocksFreq (LL_RCC_ClocksTypeDef *RCC_Clocks) |
| Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses clocks. | |
| uint32_t | LL_RCC_GetUSBClockFreq (uint32_t USBxSource) |
| Return USBx clock frequency. | |
| uint32_t | LL_RCC_GetADCClockFreq (uint32_t ADCxSource) |
| Return ADCx clock frequency. | |
Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses clocks and different peripheral clocks available on the device.
| uint32_t LL_RCC_GetADCClockFreq | ( | uint32_t | ADCxSource | ) |
Return ADCx clock frequency.
| ADCxSource | This parameter can be one of the following values: |
| ADC | clock frequency (in Hz) |
Definition at line 306 of file stm32f1xx_ll_rcc.c.
References assert_param, IS_LL_RCC_ADC_CLKSOURCE, LL_RCC_GetADCClockSource(), RCC_GetHCLKClockFreq(), RCC_GetPCLK2ClockFreq(), and RCC_GetSystemClockFreq().
| void LL_RCC_GetSystemClocksFreq | ( | LL_RCC_ClocksTypeDef * | RCC_Clocks | ) |
Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses clocks.
| RCC_Clocks | pointer to a LL_RCC_ClocksTypeDef structure which will hold the clocks frequencies |
| None |
Definition at line 190 of file stm32f1xx_ll_rcc.c.
References LL_RCC_ClocksTypeDef::HCLK_Frequency, LL_RCC_ClocksTypeDef::PCLK1_Frequency, LL_RCC_ClocksTypeDef::PCLK2_Frequency, RCC_GetHCLKClockFreq(), RCC_GetPCLK1ClockFreq(), RCC_GetPCLK2ClockFreq(), RCC_GetSystemClockFreq(), and LL_RCC_ClocksTypeDef::SYSCLK_Frequency.
Referenced by LL_I2C_Init(), and LL_USART_Init().
| uint32_t LL_RCC_GetUSBClockFreq | ( | uint32_t | USBxSource | ) |
Return USBx clock frequency.
| USBxSource | This parameter can be one of the following values: |
| USB | clock frequency (in Hz)
|
Definition at line 247 of file stm32f1xx_ll_rcc.c.
References assert_param, IS_LL_RCC_USB_CLKSOURCE, LL_RCC_GetUSBClockSource(), LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLL_IsReady(), LL_RCC_USB_CLKSOURCE_PLL, LL_RCC_USB_CLKSOURCE_PLL_DIV_1_5, and RCC_PLL_GetFreqDomain_SYS().
1.7.6.1