STM32F479xx 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_GetI2SClockFreq (uint32_t I2SxSource) |
Return I2Sx clock frequency. | |
uint32_t | LL_RCC_GetSAIClockFreq (uint32_t SAIxSource) |
Return SAIx clock frequency. | |
uint32_t | LL_RCC_GetSDIOClockFreq (uint32_t SDIOxSource) |
Return SDIOx clock frequency. | |
uint32_t | LL_RCC_GetRNGClockFreq (uint32_t RNGxSource) |
Return RNGx clock frequency. | |
uint32_t | LL_RCC_GetUSBClockFreq (uint32_t USBxSource) |
Return USBx clock frequency. | |
uint32_t | LL_RCC_GetDSIClockFreq (uint32_t DSIxSource) |
Return DSI clock frequency. | |
uint32_t | LL_RCC_GetLTDCClockFreq (uint32_t LTDCxSource) |
Return LTDC 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_GetDSIClockFreq | ( | uint32_t | DSIxSource | ) |
Return DSI clock frequency.
DSIxSource | This parameter can be one of the following values: |
DSI | clock frequency (in Hz)
|
Definition at line 1015 of file stm32f4xx_ll_rcc.c.
References assert_param, IS_LL_RCC_DSI_CLKSOURCE, LL_RCC_DSI_CLKSOURCE_PHY, LL_RCC_DSI_CLKSOURCE_PLL, LL_RCC_GetDSIClockSource(), LL_RCC_PERIPH_FREQUENCY_NA, LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLL_IsReady(), and RCC_PLL_GetFreqDomain_DSI().
uint32_t LL_RCC_GetI2SClockFreq | ( | uint32_t | I2SxSource | ) |
Return I2Sx clock frequency.
I2SxSource | This parameter can be one of the following values:
|
I2S | clock frequency (in Hz)
|
Definition at line 371 of file stm32f4xx_ll_rcc.c.
References assert_param, EXTERNAL_CLOCK_VALUE, HSE_VALUE, HSI_VALUE, IS_LL_RCC_I2S_CLKSOURCE, LL_RCC_GetI2SClockSource(), LL_RCC_HSE_IsReady(), LL_RCC_HSI_IsReady(), LL_RCC_I2S1_CLKSOURCE, LL_RCC_I2S1_CLKSOURCE_PIN, LL_RCC_I2S1_CLKSOURCE_PLLI2S, LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLL_GetMainSource(), LL_RCC_PLL_IsReady(), LL_RCC_PLLI2S_IsReady(), LL_RCC_PLLSOURCE_HSE, LL_RCC_PLLSOURCE_HSI, and RCC_PLLI2S_GetFreqDomain_I2S().
Referenced by LL_I2S_Init().
uint32_t LL_RCC_GetLTDCClockFreq | ( | uint32_t | LTDCxSource | ) |
Return LTDC clock frequency.
LTDCxSource | This parameter can be one of the following values: |
LTDC | clock frequency (in Hz)
|
Definition at line 1050 of file stm32f4xx_ll_rcc.c.
References assert_param, IS_LL_RCC_LTDC_CLKSOURCE, LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLLSAI_IsReady(), and RCC_PLLSAI_GetFreqDomain_LTDC().
uint32_t LL_RCC_GetRNGClockFreq | ( | uint32_t | RNGxSource | ) |
Return RNGx clock frequency.
RNGxSource | This parameter can be one of the following values: |
RNG | clock frequency (in Hz)
|
Definition at line 754 of file stm32f4xx_ll_rcc.c.
References assert_param, IS_LL_RCC_RNG_CLKSOURCE, LL_RCC_GetRNGClockSource(), LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLL_IsReady(), LL_RCC_PLLI2S_IsReady(), LL_RCC_PLLSAI_IsReady(), LL_RCC_RNG_CLKSOURCE_PLL, LL_RCC_RNG_CLKSOURCE_PLLSAI, RCC_PLL_GetFreqDomain_48M(), and RCC_PLLSAI_GetFreqDomain_48M().
uint32_t LL_RCC_GetSAIClockFreq | ( | uint32_t | SAIxSource | ) |
Return SAIx clock frequency.
SAIxSource | This parameter can be one of the following values:
|
SAI | clock frequency (in Hz)
|
Definition at line 543 of file stm32f4xx_ll_rcc.c.
References assert_param, EXTERNAL_CLOCK_VALUE, HSE_VALUE, HSI_VALUE, IS_LL_RCC_SAI_CLKSOURCE, LL_RCC_GetSAIClockSource(), LL_RCC_HSE_IsReady(), LL_RCC_HSI_IsReady(), LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLL_GetMainSource(), LL_RCC_PLL_IsReady(), LL_RCC_PLLI2S_IsReady(), LL_RCC_PLLSAI_IsReady(), LL_RCC_PLLSOURCE_HSE, LL_RCC_PLLSOURCE_HSI, LL_RCC_SAI1_A_CLKSOURCE, LL_RCC_SAI1_A_CLKSOURCE_PIN, LL_RCC_SAI1_A_CLKSOURCE_PLLI2S, LL_RCC_SAI1_A_CLKSOURCE_PLLSAI, LL_RCC_SAI1_B_CLKSOURCE, LL_RCC_SAI1_B_CLKSOURCE_PIN, LL_RCC_SAI1_B_CLKSOURCE_PLLI2S, LL_RCC_SAI1_B_CLKSOURCE_PLLSAI, RCC_PLL_GetFreqDomain_SAI(), RCC_PLLI2S_GetFreqDomain_SAI(), and RCC_PLLSAI_GetFreqDomain_SAI().
uint32_t LL_RCC_GetSDIOClockFreq | ( | uint32_t | SDIOxSource | ) |
Return SDIOx clock frequency.
SDIOxSource | This parameter can be one of the following values: |
SDIO | clock frequency (in Hz)
|
Definition at line 683 of file stm32f4xx_ll_rcc.c.
References assert_param, IS_LL_RCC_SDIO_CLKSOURCE, LL_RCC_CK48M_CLKSOURCE, LL_RCC_CK48M_CLKSOURCE_PLL, LL_RCC_CK48M_CLKSOURCE_PLLSAI, LL_RCC_GetCK48MClockSource(), LL_RCC_GetSDIOClockSource(), LL_RCC_PERIPH_FREQUENCY_NO, LL_RCC_PLL_IsReady(), LL_RCC_PLLI2S_IsReady(), LL_RCC_PLLSAI_IsReady(), LL_RCC_SDIO_CLKSOURCE, LL_RCC_SDIO_CLKSOURCE_PLL48CLK, LL_RCC_SDIO_CLKSOURCE_SYSCLK, RCC_GetSystemClockFreq(), RCC_PLL_GetFreqDomain_48M(), and RCC_PLLSAI_GetFreqDomain_48M().
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 304 of file stm32f4xx_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 849 of file stm32f4xx_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_PLLI2S_IsReady(), LL_RCC_PLLSAI_IsReady(), LL_RCC_USB_CLKSOURCE_PLL, LL_RCC_USB_CLKSOURCE_PLLSAI, RCC_PLL_GetFreqDomain_48M(), and RCC_PLLSAI_GetFreqDomain_48M().