STM32F103xB HAL User Manual
Defines | Functions
stm32f1xx_ll_rcc.c File Reference

RCC LL module driver. More...

#include "stm32f1xx_ll_rcc.h"

Go to the source code of this file.

Defines

#define assert_param(expr)   ((void)0U)
#define IS_LL_RCC_USB_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_USB_CLKSOURCE))
#define IS_LL_RCC_ADC_CLKSOURCE(__VALUE__)   (((__VALUE__) == LL_RCC_ADC_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.
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_GetUSBClockFreq (uint32_t USBxSource)
 Return USBx clock frequency.
uint32_t LL_RCC_GetADCClockFreq (uint32_t ADCxSource)
 Return ADCx clock frequency.

Detailed Description

RCC LL module driver.

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f1xx_ll_rcc.c.


Define Documentation

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

Definition at line 27 of file stm32f1xx_ll_rcc.c.

Referenced by LL_RCC_GetADCClockFreq(), and LL_RCC_GetUSBClockFreq().