STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_rcc_ex.c File Reference

Extended RCC HAL module driver. This file provides firmware functions to manage the following functionalities RCC extended peripheral: More...

Go to the source code of this file.

Functions

static HAL_StatusTypeDef RCCEx_PLLSAI1_Config (RCC_PLLSAI1InitTypeDef *PllSai1, uint32_t Divider)
 Configure the parameters N & P & optionally M of PLLSAI1 and enable PLLSAI1 output clock(s). More...
 
static HAL_StatusTypeDef RCCEx_PLLSAI2_Config (RCC_PLLSAI2InitTypeDef *PllSai2, uint32_t Divider)
 Configure the parameters N & P & optionally M of PLLSAI2 and enable PLLSAI2 output clock(s). More...
 
static uint32_t RCCEx_GetSAIxPeriphCLKFreq (uint32_t PeriphClk, uint32_t InputFrequency)
 
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig (RCC_PeriphCLKInitTypeDef *PeriphClkInit)
 Initialize the RCC extended peripherals clocks according to the specified parameters in the RCC_PeriphCLKInitTypeDef. More...
 
void HAL_RCCEx_GetPeriphCLKConfig (RCC_PeriphCLKInitTypeDef *PeriphClkInit)
 Get the RCC_ClkInitStruct according to the internal RCC configuration registers. More...
 
uint32_t HAL_RCCEx_GetPeriphCLKFreq (uint32_t PeriphClk)
 Return the peripheral clock frequency for peripherals with clock source from PLLSAIs. More...
 
HAL_StatusTypeDef HAL_RCCEx_EnablePLLSAI1 (RCC_PLLSAI1InitTypeDef *PLLSAI1Init)
 Enable PLLSAI1. More...
 
HAL_StatusTypeDef HAL_RCCEx_DisablePLLSAI1 (void)
 Disable PLLSAI1. More...
 
HAL_StatusTypeDef HAL_RCCEx_EnablePLLSAI2 (RCC_PLLSAI2InitTypeDef *PLLSAI2Init)
 Enable PLLSAI2. More...
 
HAL_StatusTypeDef HAL_RCCEx_DisablePLLSAI2 (void)
 Disable PLLISAI2. More...
 
void HAL_RCCEx_WakeUpStopCLKConfig (uint32_t WakeUpClk)
 Configure the oscillator clock source for wakeup from Stop and CSS backup clock. More...
 
void HAL_RCCEx_StandbyMSIRangeConfig (uint32_t MSIRange)
 Configure the MSI range after standby mode. More...
 
void HAL_RCCEx_EnableLSECSS (void)
 Enable the LSE Clock Security System. More...
 
void HAL_RCCEx_DisableLSECSS (void)
 Disable the LSE Clock Security System. More...
 
void HAL_RCCEx_EnableLSECSS_IT (void)
 Enable the LSE Clock Security System Interrupt & corresponding EXTI line. More...
 
void HAL_RCCEx_LSECSS_IRQHandler (void)
 Handle the RCC LSE Clock Security System interrupt request. More...
 
void HAL_RCCEx_LSECSS_Callback (void)
 RCCEx LSE Clock Security System interrupt callback. More...
 
void HAL_RCCEx_EnableLSCO (uint32_t LSCOSource)
 Select the Low Speed clock source to output on LSCO pin (PA2). More...
 
void HAL_RCCEx_DisableLSCO (void)
 Disable the Low Speed clock output. More...
 
void HAL_RCCEx_EnableMSIPLLMode (void)
 Enable the PLL-mode of the MSI. More...
 
void HAL_RCCEx_DisableMSIPLLMode (void)
 Disable the PLL-mode of the MSI. More...
 
void HAL_RCCEx_CRSConfig (RCC_CRSInitTypeDef *pInit)
 Start automatic synchronization for polling mode. More...
 
void HAL_RCCEx_CRSSoftwareSynchronizationGenerate (void)
 Generate the software synchronization event. More...
 
void HAL_RCCEx_CRSGetSynchronizationInfo (RCC_CRSSynchroInfoTypeDef *pSynchroInfo)
 Return synchronization info. More...
 
uint32_t HAL_RCCEx_CRSWaitSynchronization (uint32_t Timeout)
 Wait for CRS Synchronization status. More...
 
void HAL_RCCEx_CRS_IRQHandler (void)
 Handle the Clock Recovery System interrupt request. More...
 
void HAL_RCCEx_CRS_SyncOkCallback (void)
 RCCEx Clock Recovery System SYNCOK interrupt callback. More...
 
void HAL_RCCEx_CRS_SyncWarnCallback (void)
 RCCEx Clock Recovery System SYNCWARN interrupt callback. More...
 
void HAL_RCCEx_CRS_ExpectedSyncCallback (void)
 RCCEx Clock Recovery System Expected SYNC interrupt callback. More...
 
void HAL_RCCEx_CRS_ErrorCallback (uint32_t Error)
 RCCEx Clock Recovery System Error interrupt callback. More...
 

Detailed Description

Extended RCC HAL module driver. This file provides firmware functions to manage the following functionalities RCC extended peripheral:

Author
MCD Application Team
  • Extended Peripheral Control functions
  • Extended Clock management functions
  • Extended Clock Recovery System Control functions
Attention

© Copyright (c) 2017 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 stm32l4xx_hal_rcc_ex.c.