STM32L486xx HAL User Manual
|
RCC LL module driver. More...
#include "stm32l4xx_ll_rcc.h"
Go to the source code of this file.
Defines | |
#define | assert_param(expr) ((void)0U) |
#define | IS_LL_RCC_USART_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_UART_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_LPUART_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_LPUART1_CLKSOURCE)) |
#define | IS_LL_RCC_I2C_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_LPTIM_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_SAI_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_SDMMC_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_SDMMC1_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_ADC_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_ADC_CLKSOURCE)) |
#define | IS_LL_RCC_SWPMI_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_SWPMI1_CLKSOURCE)) |
#define | IS_LL_RCC_DFSDM_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_DFSDM1_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 (void) |
Return PLL clock frequency used for system domain. | |
uint32_t | RCC_PLL_GetFreqDomain_SAI (void) |
Return PLL clock frequency used for SAI domain. | |
uint32_t | RCC_PLL_GetFreqDomain_48M (void) |
Return PLL clock frequency used for 48 MHz domain. | |
uint32_t | RCC_PLLSAI1_GetFreqDomain_SAI (void) |
Return PLLSAI1 clock frequency used for SAI domain. | |
uint32_t | RCC_PLLSAI1_GetFreqDomain_48M (void) |
Return PLLSAI1 clock frequency used for 48Mhz domain. | |
uint32_t | RCC_PLLSAI1_GetFreqDomain_ADC (void) |
Return PLLSAI1 clock frequency used for ADC domain. | |
uint32_t | RCC_PLLSAI2_GetFreqDomain_SAI (void) |
Return PLLSAI2 clock frequency used for SAI domain. | |
uint32_t | RCC_PLLSAI2_GetFreqDomain_ADC (void) |
Return PLLSAI2 clock frequency used for ADC domain. | |
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_GetUSARTClockFreq (uint32_t USARTxSource) |
Return USARTx clock frequency. | |
uint32_t | LL_RCC_GetUARTClockFreq (uint32_t UARTxSource) |
Return UARTx clock frequency. | |
uint32_t | LL_RCC_GetI2CClockFreq (uint32_t I2CxSource) |
Return I2Cx clock frequency. | |
uint32_t | LL_RCC_GetLPUARTClockFreq (uint32_t LPUARTxSource) |
Return LPUARTx clock frequency. | |
uint32_t | LL_RCC_GetLPTIMClockFreq (uint32_t LPTIMxSource) |
Return LPTIMx clock frequency. | |
uint32_t | LL_RCC_GetSAIClockFreq (uint32_t SAIxSource) |
Return SAIx clock frequency. | |
uint32_t | LL_RCC_GetSDMMCClockFreq (uint32_t SDMMCxSource) |
Return SDMMCx 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_GetADCClockFreq (uint32_t ADCxSource) |
Return ADCx clock frequency. | |
uint32_t | LL_RCC_GetSWPMIClockFreq (uint32_t SWPMIxSource) |
Return SWPMIx clock frequency. | |
uint32_t | LL_RCC_GetDFSDMClockFreq (uint32_t DFSDMxSource) |
Return DFSDMx clock frequency. |
RCC LL module driver.
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 stm32l4xx_ll_rcc.c.
#define assert_param | ( | expr | ) | ((void)0U) |
Definition at line 42 of file stm32l4xx_ll_rcc.c.
Referenced by LL_RCC_GetADCClockFreq(), LL_RCC_GetDFSDMClockFreq(), LL_RCC_GetI2CClockFreq(), LL_RCC_GetLPTIMClockFreq(), LL_RCC_GetLPUARTClockFreq(), LL_RCC_GetRNGClockFreq(), LL_RCC_GetSAIClockFreq(), LL_RCC_GetSDMMCClockFreq(), LL_RCC_GetSWPMIClockFreq(), LL_RCC_GetUARTClockFreq(), LL_RCC_GetUSARTClockFreq(), and LL_RCC_GetUSBClockFreq().