STM32F439xx HAL User Manual
Defines | Functions
stm32f4xx_ll_rcc.c File Reference

RCC LL module driver. More...

#include "stm32f4xx_ll_rcc.h"

Go to the source code of this file.

Defines

#define assert_param(expr)   ((void)0U)
#define IS_LL_RCC_SAI_CLKSOURCE(__VALUE__)
#define IS_LL_RCC_SDIO_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_SDIO_CLKSOURCE))
#define IS_LL_RCC_RNG_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_RNG_CLKSOURCE))
#define IS_LL_RCC_USB_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_USB_CLKSOURCE))
#define IS_LL_RCC_I2S_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_I2S1_CLKSOURCE))
#define IS_LL_RCC_LTDC_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_LTDC_CLKSOURCE))

Functions

uint32_t RCC_GetSystemClockFreq (void)
 Return SYSTEM clock frequency.
uint32_t RCC_GetHCLKClockFreq (uint32_t SYSCLK_Frequency)
 Return HCLK clock frequency.
uint32_t RCC_GetPCLK1ClockFreq (uint32_t HCLK_Frequency)
 Return PCLK1 clock frequency.
uint32_t RCC_GetPCLK2ClockFreq (uint32_t HCLK_Frequency)
 Return PCLK2 clock frequency.
uint32_t RCC_PLL_GetFreqDomain_SYS (uint32_t SYSCLK_Source)
 Return PLL clock frequency used for system domain.
uint32_t RCC_PLL_GetFreqDomain_48M (void)
 Return PLL clock frequency used for 48 MHz domain.
uint32_t RCC_PLLSAI_GetFreqDomain_SAI (void)
 Return PLLSAI clock frequency used for SAI domain.
uint32_t RCC_PLLSAI_GetFreqDomain_LTDC (void)
 Return PLLSAI clock frequency used for LTDC domain.
uint32_t RCC_PLLI2S_GetFreqDomain_I2S (void)
 Return PLLI2S clock frequency used for I2S domain.
uint32_t RCC_PLLI2S_GetFreqDomain_SAI (void)
 Return PLLI2S clock frequency used for SAI domains.
ErrorStatus LL_RCC_DeInit (void)
 Reset the RCC clock configuration to the default reset state.
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_GetLTDCClockFreq (uint32_t LTDCxSource)
 Return LTDC clock frequency.

Detailed Description

RCC LL module driver.

Author:
MCD Application Team
Attention:

© COPYRIGHT(c) 2017 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32f4xx_ll_rcc.c.


Define Documentation

#define assert_param (   expr)    ((void)0U)