L4 HAL Drivers

Embed: (wiki syntax)

« Back to documentation index

stm32l4xx_hal_rcc_ex.c File Reference

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: + Extended Peripheral Control functions. More...

Go to the source code of this file.

Functions

static HAL_StatusTypeDef RCCEx_PLLSAI1_ConfigNP (RCC_PLLSAI1InitTypeDef *PllSai1)
 Configure the parameters N & P of PLLSAI1 and enable PLLSAI1 output clock(s).
static HAL_StatusTypeDef RCCEx_PLLSAI1_ConfigNQ (RCC_PLLSAI1InitTypeDef *PllSai1)
 Configure the parameters N & Q of PLLSAI1 and enable PLLSAI1 output clock(s).
static HAL_StatusTypeDef RCCEx_PLLSAI1_ConfigNR (RCC_PLLSAI1InitTypeDef *PllSai1)
 Configure the parameters N & R of PLLSAI1 and enable PLLSAI1 output clock(s).
static HAL_StatusTypeDef RCCEx_PLLSAI2_ConfigNP (RCC_PLLSAI2InitTypeDef *PllSai2)
 Configure the parameters N & P of PLLSAI2 and enable PLLSAI2 output clock(s).
static HAL_StatusTypeDef RCCEx_PLLSAI2_ConfigNR (RCC_PLLSAI2InitTypeDef *PllSai2)
 Configure the parameters N & R of PLLSAI2 and enable PLLSAI2 output clock(s).
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig (RCC_PeriphCLKInitTypeDef *PeriphClkInit)
 Initialize 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 peripherals with clock source from PLLSAIs.
HAL_StatusTypeDef HAL_RCCEx_EnablePLLSAI1 (RCC_PLLSAI1InitTypeDef *PLLSAI1Init)
 Enable PLLSAI1.
HAL_StatusTypeDef HAL_RCCEx_DisablePLLSAI1 (void)
 Disable PLLSAI1.
HAL_StatusTypeDef HAL_RCCEx_EnablePLLSAI2 (RCC_PLLSAI2InitTypeDef *PLLSAI2Init)
 Enable PLLSAI2.
HAL_StatusTypeDef HAL_RCCEx_DisablePLLSAI2 (void)
 Disable PLLISAI2.
void HAL_RCCEx_WakeUpStopCLKConfig (uint32_t WakeUpClk)
 Configure the oscillator clock source for wakeup from Stop and CSS backup clock.
void HAL_RCCEx_StandbyMSIRangeConfig (uint32_t MSIRange)
 Configure the MSI range after standby mode.
void HAL_RCCEx_EnableLSECSS (void)
 Enable the LSE Clock Security System.
void HAL_RCCEx_DisableLSECSS (void)
 Disable the LSE Clock Security System.
void HAL_RCCEx_EnableLSECSS_IT (void)
 Enable the LSE Clock Security System Interrupt & corresponding EXTI line.
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.
void HAL_RCCEx_EnableLSCO (uint32_t LSCOSource)
 Select the Low Speed clock source to output on LSCO pin (PA2).
void HAL_RCCEx_DisableLSCO (void)
 Disable the Low Speed clock output.
void HAL_RCCEx_EnableMSIPLLMode (void)
 Enable the PLL-mode of the MSI.
void HAL_RCCEx_DisableMSIPLLMode (void)
 Disable the PLL-mode of the MSI.

Detailed Description

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

Author:
MCD Application Team
Version:
V1.1.0
Date:
16-September-2015
Attention:

© COPYRIGHT(c) 2015 STMicroelectronics

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