STM32H735xx HAL User Manual
Defines | Functions
stm32h7xx_hal_rcc_ex.c File Reference

Extended RCC HAL module driver. This file provides firmware functions to manage the following functionalities RCC extension peripheral: + Extended Peripheral Control functions. More...

#include "stm32h7xx_hal.h"

Go to the source code of this file.

Defines

#define PLL2_TIMEOUT_VALUE   PLL_TIMEOUT_VALUE /* 2 ms */
#define PLL3_TIMEOUT_VALUE   PLL_TIMEOUT_VALUE /* 2 ms */
#define DIVIDER_P_UPDATE   0U
#define DIVIDER_Q_UPDATE   1U
#define DIVIDER_R_UPDATE   2U

Functions

static HAL_StatusTypeDef RCCEx_PLL2_Config (RCC_PLL2InitTypeDef *pll2, uint32_t Divider)
 Configure the PLL2 VCI,VCO ranges, multiplication and division factors and enable it.
static HAL_StatusTypeDef RCCEx_PLL3_Config (RCC_PLL3InitTypeDef *pll3, uint32_t Divider)
 Configure the PLL3 VCI,VCO ranges, multiplication and division factors and enable it.
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig (RCC_PeriphCLKInitTypeDef *PeriphClkInit)
 Initializes the RCC extended peripherals clocks according to the specified parameters in the RCC_PeriphCLKInitTypeDef.
void HAL_RCCEx_GetPeriphCLKConfig (RCC_PeriphCLKInitTypeDef *PeriphClkInit)
 Get the RCC_ClkInitStruct according to the internal RCC configuration registers.
uint32_t HAL_RCCEx_GetPeriphCLKFreq (uint32_t PeriphClk)
 Return the peripheral clock frequency for a given peripheral(SAI..)
uint32_t HAL_RCCEx_GetD1PCLK1Freq (void)
 Returns the D1PCLK1 frequency.
uint32_t HAL_RCCEx_GetD3PCLK1Freq (void)
 Returns the D3PCLK1 frequency.
void HAL_RCCEx_GetPLL2ClockFreq (PLL2_ClocksTypeDef *PLL2_Clocks)
 Returns the PLL2 clock frequencies :PLL2_P_Frequency,PLL2_R_Frequency and PLL2_Q_Frequency.
void HAL_RCCEx_GetPLL3ClockFreq (PLL3_ClocksTypeDef *PLL3_Clocks)
 Returns the PLL3 clock frequencies :PLL3_P_Frequency,PLL3_R_Frequency and PLL3_Q_Frequency.
void HAL_RCCEx_GetPLL1ClockFreq (PLL1_ClocksTypeDef *PLL1_Clocks)
 Returns the PLL1 clock frequencies :PLL1_P_Frequency,PLL1_R_Frequency and PLL1_Q_Frequency.
uint32_t HAL_RCCEx_GetD1SysClockFreq (void)
 Returns the main System frequency.
void HAL_RCCEx_EnableLSECSS (void)
 Enables the LSE Clock Security System.
void HAL_RCCEx_DisableLSECSS (void)
 Disables the LSE Clock Security System.
void HAL_RCCEx_EnableLSECSS_IT (void)
 Enable the LSE Clock Security System Interrupt & corresponding EXTI line.
void HAL_RCCEx_WakeUpStopCLKConfig (uint32_t WakeUpClk)
 Configure the oscillator clock source for wakeup from Stop and CSS backup clock.
void HAL_RCCEx_KerWakeUpStopCLKConfig (uint32_t WakeUpClk)
 Configure the oscillator Kernel clock source for wakeup from Stop.
void HAL_RCCEx_WWDGxSysResetConfig (uint32_t RCC_WWDGx)
 Configure WWDG1 to generate a system reset not only CPU reset(default) when a time-out occurs.
void HAL_RCCEx_CRSConfig (RCC_CRSInitTypeDef *pInit)
 Start automatic synchronization for polling mode.
void HAL_RCCEx_CRSSoftwareSynchronizationGenerate (void)
 Generate the software synchronization event.
void HAL_RCCEx_CRSGetSynchronizationInfo (RCC_CRSSynchroInfoTypeDef *pSynchroInfo)
 Return synchronization info.
uint32_t HAL_RCCEx_CRSWaitSynchronization (uint32_t Timeout)
 Wait for CRS Synchronization status.
void HAL_RCCEx_CRS_IRQHandler (void)
 Handle the Clock Recovery System interrupt request.
__weak void HAL_RCCEx_CRS_SyncOkCallback (void)
 RCCEx Clock Recovery System SYNCOK interrupt callback.
__weak void HAL_RCCEx_CRS_SyncWarnCallback (void)
 RCCEx Clock Recovery System SYNCWARN interrupt callback.
__weak void HAL_RCCEx_CRS_ExpectedSyncCallback (void)
 RCCEx Clock Recovery System Expected SYNC interrupt callback.
__weak void HAL_RCCEx_CRS_ErrorCallback (uint32_t Error)
 RCCEx Clock Recovery System Error interrupt callback.
void HAL_RCCEx_LSECSS_IRQHandler (void)
 Handle the RCC LSE Clock Security System interrupt request.
__weak void HAL_RCCEx_LSECSS_Callback (void)
 RCCEx LSE Clock Security System interrupt callback.

Detailed Description

Extended RCC HAL module driver. This file provides firmware functions to manage the following functionalities RCC extension peripheral: + Extended Peripheral Control functions.

Author:
MCD Application Team
Attention:

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_hal_rcc_ex.c.