STM32H735xx HAL User Manual
|
RCC LL module driver. More...
#include "stm32h7xx_ll_rcc.h"
#include "stm32h7xx_ll_bus.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_I2C_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_LPTIM_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_SAI_CLKSOURCE(__VALUE__) |
#define | IS_LL_RCC_SPI_CLKSOURCE(__VALUE__) |
Functions | |
static uint32_t | RCC_GetSystemClockFreq (void) |
Return SYSTEM clock frequency. | |
static uint32_t | RCC_GetHCLKClockFreq (uint32_t SYSCLK_Frequency) |
Return HCLK clock frequency. | |
static uint32_t | RCC_GetPCLK1ClockFreq (uint32_t HCLK_Frequency) |
Return PCLK1 clock frequency. | |
static uint32_t | RCC_GetPCLK2ClockFreq (uint32_t HCLK_Frequency) |
Return PCLK2 clock frequency. | |
static uint32_t | RCC_GetPCLK3ClockFreq (uint32_t HCLK_Frequency) |
Return PCLK3 clock frequency. | |
static uint32_t | RCC_GetPCLK4ClockFreq (uint32_t HCLK_Frequency) |
Return PCLK4 clock frequency. | |
void | LL_RCC_DeInit (void) |
Resets 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, APB2, APB3 and APB4 buses clocks. | |
void | LL_RCC_GetPLL1ClockFreq (LL_PLL_ClocksTypeDef *PLL_Clocks) |
Return PLL1 clocks frequencies. | |
void | LL_RCC_GetPLL2ClockFreq (LL_PLL_ClocksTypeDef *PLL_Clocks) |
Return PLL2 clocks frequencies. | |
void | LL_RCC_GetPLL3ClockFreq (LL_PLL_ClocksTypeDef *PLL_Clocks) |
Return PLL3 clocks frequencies. | |
uint32_t | LL_RCC_CalcPLLClockFreq (uint32_t PLLInputFreq, uint32_t M, uint32_t N, uint32_t FRACN, uint32_t PQR) |
Helper function to calculate the PLL frequency output. | |
uint32_t | LL_RCC_GetUSARTClockFreq (uint32_t USARTxSource) |
Return USARTx clock frequency. | |
uint32_t | LL_RCC_GetLPUARTClockFreq (uint32_t LPUARTxSource) |
Return LPUART clock frequency. | |
uint32_t | LL_RCC_GetI2CClockFreq (uint32_t I2CxSource) |
Return I2Cx 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_GetADCClockFreq (uint32_t ADCxSource) |
Return ADC clock frequency. | |
uint32_t | LL_RCC_GetSDMMCClockFreq (uint32_t SDMMCxSource) |
Return SDMMC clock frequency. | |
uint32_t | LL_RCC_GetRNGClockFreq (uint32_t RNGxSource) |
Return RNG clock frequency. | |
uint32_t | LL_RCC_GetCECClockFreq (uint32_t CECxSource) |
Return CEC clock frequency. | |
uint32_t | LL_RCC_GetUSBClockFreq (uint32_t USBxSource) |
Return USB clock frequency. | |
uint32_t | LL_RCC_GetDFSDMClockFreq (uint32_t DFSDMxSource) |
Return DFSDM clock frequency. | |
uint32_t | LL_RCC_GetSPDIFClockFreq (uint32_t SPDIFxSource) |
Return SPDIF clock frequency. | |
uint32_t | LL_RCC_GetSPIClockFreq (uint32_t SPIxSource) |
Return SPIx clock frequency. | |
uint32_t | LL_RCC_GetSWPClockFreq (uint32_t SWPxSource) |
Return SWP clock frequency. | |
uint32_t | LL_RCC_GetFDCANClockFreq (uint32_t FDCANxSource) |
Return FDCAN clock frequency. | |
uint32_t | LL_RCC_GetFMCClockFreq (uint32_t FMCxSource) |
Return FMC clock frequency. | |
uint32_t | LL_RCC_GetOSPIClockFreq (uint32_t OSPIxSource) |
Return OSPI clock frequency. | |
uint32_t | LL_RCC_GetCLKPClockFreq (uint32_t CLKPxSource) |
Return CLKP clock frequency. | |
Variables | |
const uint8_t | LL_RCC_PrescTable [16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9} |
RCC LL module driver.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_ll_rcc.c.
#define assert_param | ( | expr | ) | ((void)0U) |
Definition at line 25 of file stm32h7xx_ll_rcc.c.
Referenced by LL_RCC_GetI2CClockFreq(), LL_RCC_GetLPTIMClockFreq(), LL_RCC_GetSAIClockFreq(), LL_RCC_GetSPIClockFreq(), and LL_RCC_GetUSARTClockFreq().