STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_ll_rcc.h File Reference

Header file of RCC LL module. More...

Go to the source code of this file.

Data Structures

struct  LL_RCC_ClocksTypeDef
 RCC Clocks Frequency Structure. More...
 

Functions

__STATIC_INLINE void LL_RCC_HSE_EnableCSS (void)
 Enable the Clock Security System. @rmtoll CR CSSON LL_RCC_HSE_EnableCSS. More...
 
__STATIC_INLINE void LL_RCC_HSE_EnableBypass (void)
 Enable HSE external oscillator (HSE Bypass) @rmtoll CR HSEBYP LL_RCC_HSE_EnableBypass. More...
 
__STATIC_INLINE void LL_RCC_HSE_DisableBypass (void)
 Disable HSE external oscillator (HSE Bypass) @rmtoll CR HSEBYP LL_RCC_HSE_DisableBypass. More...
 
__STATIC_INLINE void LL_RCC_HSE_Enable (void)
 Enable HSE crystal oscillator (HSE ON) @rmtoll CR HSEON LL_RCC_HSE_Enable. More...
 
__STATIC_INLINE void LL_RCC_HSE_Disable (void)
 Disable HSE crystal oscillator (HSE ON) @rmtoll CR HSEON LL_RCC_HSE_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSE_IsReady (void)
 Check if HSE oscillator Ready @rmtoll CR HSERDY LL_RCC_HSE_IsReady. More...
 
__STATIC_INLINE void LL_RCC_HSI_Enable (void)
 Enable HSI oscillator @rmtoll CR HSION LL_RCC_HSI_Enable. More...
 
__STATIC_INLINE void LL_RCC_HSI_Disable (void)
 Disable HSI oscillator @rmtoll CR HSION LL_RCC_HSI_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady (void)
 Check if HSI clock is ready @rmtoll CR HSIRDY LL_RCC_HSI_IsReady. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibration (void)
 Get HSI Calibration value. More...
 
__STATIC_INLINE void LL_RCC_HSI_SetCalibTrimming (uint32_t Value)
 Set HSI Calibration trimming. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming (void)
 Get HSI Calibration trimming @rmtoll CR HSITRIM LL_RCC_HSI_GetCalibTrimming. More...
 
__STATIC_INLINE void LL_RCC_LSE_Enable (void)
 Enable Low Speed External (LSE) crystal. @rmtoll BDCR LSEON LL_RCC_LSE_Enable. More...
 
__STATIC_INLINE void LL_RCC_LSE_Disable (void)
 Disable Low Speed External (LSE) crystal. @rmtoll BDCR LSEON LL_RCC_LSE_Disable. More...
 
__STATIC_INLINE void LL_RCC_LSE_EnableBypass (void)
 Enable external clock source (LSE bypass). @rmtoll BDCR LSEBYP LL_RCC_LSE_EnableBypass. More...
 
__STATIC_INLINE void LL_RCC_LSE_DisableBypass (void)
 Disable external clock source (LSE bypass). @rmtoll BDCR LSEBYP LL_RCC_LSE_DisableBypass. More...
 
__STATIC_INLINE uint32_t LL_RCC_LSE_IsReady (void)
 Check if LSE oscillator Ready @rmtoll BDCR LSERDY LL_RCC_LSE_IsReady. More...
 
__STATIC_INLINE void LL_RCC_LSE_EnableHighDriveMode (void)
 Enable LSE high drive mode. More...
 
__STATIC_INLINE void LL_RCC_LSE_DisableHighDriveMode (void)
 Disable LSE high drive mode. More...
 
__STATIC_INLINE void LL_RCC_LSI_Enable (void)
 Enable LSI Oscillator @rmtoll CSR LSION LL_RCC_LSI_Enable. More...
 
__STATIC_INLINE void LL_RCC_LSI_Disable (void)
 Disable LSI Oscillator @rmtoll CSR LSION LL_RCC_LSI_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_LSI_IsReady (void)
 Check if LSI is Ready @rmtoll CSR LSIRDY LL_RCC_LSI_IsReady. More...
 
__STATIC_INLINE void LL_RCC_SetSysClkSource (uint32_t Source)
 Configure the system clock source @rmtoll CFGR SW LL_RCC_SetSysClkSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetSysClkSource (void)
 Get the system clock source @rmtoll CFGR SWS LL_RCC_GetSysClkSource. More...
 
__STATIC_INLINE void LL_RCC_SetAHBPrescaler (uint32_t Prescaler)
 Set AHB prescaler @rmtoll CFGR HPRE LL_RCC_SetAHBPrescaler. More...
 
__STATIC_INLINE void LL_RCC_SetAPB1Prescaler (uint32_t Prescaler)
 Set APB1 prescaler @rmtoll CFGR PPRE1 LL_RCC_SetAPB1Prescaler. More...
 
__STATIC_INLINE void LL_RCC_SetAPB2Prescaler (uint32_t Prescaler)
 Set APB2 prescaler @rmtoll CFGR PPRE2 LL_RCC_SetAPB2Prescaler. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetAHBPrescaler (void)
 Get AHB prescaler @rmtoll CFGR HPRE LL_RCC_GetAHBPrescaler. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetAPB1Prescaler (void)
 Get APB1 prescaler @rmtoll CFGR PPRE1 LL_RCC_GetAPB1Prescaler. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler (void)
 Get APB2 prescaler @rmtoll CFGR PPRE2 LL_RCC_GetAPB2Prescaler. More...
 
__STATIC_INLINE void LL_RCC_MCO1_Enable (void)
 Enable MCO1 output @rmtoll CFGR RCC_CFGR_MCO1EN LL_RCC_MCO1_Enable. More...
 
__STATIC_INLINE void LL_RCC_MCO1_Disable (void)
 Disable MCO1 output @rmtoll CFGR RCC_CFGR_MCO1EN LL_RCC_MCO1_Disable. More...
 
__STATIC_INLINE void LL_RCC_MCO2_Enable (void)
 Enable MCO2 output @rmtoll CFGR RCC_CFGR_MCO2EN LL_RCC_MCO2_Enable. More...
 
__STATIC_INLINE void LL_RCC_MCO2_Disable (void)
 Disable MCO2 output @rmtoll CFGR RCC_CFGR_MCO2EN LL_RCC_MCO2_Disable. More...
 
__STATIC_INLINE void LL_RCC_ConfigMCO (uint32_t MCOxSource, uint32_t MCOxPrescaler)
 Configure MCOx @rmtoll CFGR MCO1 LL_RCC_ConfigMCO
CFGR MCO1PRE LL_RCC_ConfigMCO
CFGR MCO2 LL_RCC_ConfigMCO
CFGR MCO2PRE LL_RCC_ConfigMCO. More...
 
__STATIC_INLINE void LL_RCC_SetFMPI2CClockSource (uint32_t FMPI2CxSource)
 Configure FMPI2C clock source @rmtoll DCKCFGR2 FMPI2C1SEL LL_RCC_SetFMPI2CClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetLPTIMClockSource (uint32_t LPTIMxSource)
 Configure LPTIMx clock source @rmtoll DCKCFGR2 LPTIM1SEL LL_RCC_SetLPTIMClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetSAIClockSource (uint32_t SAIxSource)
 Configure SAIx clock source @rmtoll DCKCFGR SAI1SRC LL_RCC_SetSAIClockSource
DCKCFGR SAI2SRC LL_RCC_SetSAIClockSource
DCKCFGR SAI1ASRC LL_RCC_SetSAIClockSource
DCKCFGR SAI1BSRC LL_RCC_SetSAIClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetSDIOClockSource (uint32_t SDIOxSource)
 Configure SDIO clock source @rmtoll DCKCFGR SDIOSEL LL_RCC_SetSDIOClockSource
DCKCFGR2 SDIOSEL LL_RCC_SetSDIOClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetCK48MClockSource (uint32_t CK48MxSource)
 Configure 48Mhz domain clock source @rmtoll DCKCFGR CK48MSEL LL_RCC_SetCK48MClockSource
DCKCFGR2 CK48MSEL LL_RCC_SetCK48MClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetRNGClockSource (uint32_t RNGxSource)
 Configure RNG clock source @rmtoll DCKCFGR CK48MSEL LL_RCC_SetRNGClockSource
DCKCFGR2 CK48MSEL LL_RCC_SetRNGClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetUSBClockSource (uint32_t USBxSource)
 Configure USB clock source @rmtoll DCKCFGR CK48MSEL LL_RCC_SetUSBClockSource
DCKCFGR2 CK48MSEL LL_RCC_SetUSBClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetCECClockSource (uint32_t Source)
 Configure CEC clock source @rmtoll DCKCFGR2 CECSEL LL_RCC_SetCECClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetI2SClockSource (uint32_t Source)
 Configure I2S clock source @rmtoll CFGR I2SSRC LL_RCC_SetI2SClockSource
DCKCFGR I2SSRC LL_RCC_SetI2SClockSource
DCKCFGR I2S1SRC LL_RCC_SetI2SClockSource
DCKCFGR I2S2SRC LL_RCC_SetI2SClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetDSIClockSource (uint32_t Source)
 Configure DSI clock source @rmtoll DCKCFGR DSISEL LL_RCC_SetDSIClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetDFSDMAudioClockSource (uint32_t Source)
 Configure DFSDM Audio clock source @rmtoll DCKCFGR CKDFSDM1ASEL LL_RCC_SetDFSDMAudioClockSource
DCKCFGR CKDFSDM2ASEL LL_RCC_SetDFSDMAudioClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetDFSDMClockSource (uint32_t Source)
 Configure DFSDM Kernel clock source @rmtoll DCKCFGR CKDFSDM1SEL LL_RCC_SetDFSDMClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetSPDIFRXClockSource (uint32_t SPDIFRXxSource)
 Configure SPDIFRX clock source @rmtoll DCKCFGR2 SPDIFRXSEL LL_RCC_SetSPDIFRXClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetFMPI2CClockSource (uint32_t FMPI2Cx)
 Get FMPI2C clock source @rmtoll DCKCFGR2 FMPI2C1SEL LL_RCC_GetFMPI2CClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetLPTIMClockSource (uint32_t LPTIMx)
 Get LPTIMx clock source @rmtoll DCKCFGR2 LPTIM1SEL LL_RCC_GetLPTIMClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetSAIClockSource (uint32_t SAIx)
 Get SAIx clock source @rmtoll DCKCFGR SAI1SEL LL_RCC_GetSAIClockSource
DCKCFGR SAI2SEL LL_RCC_GetSAIClockSource
DCKCFGR SAI1ASRC LL_RCC_GetSAIClockSource
DCKCFGR SAI1BSRC LL_RCC_GetSAIClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetSDIOClockSource (uint32_t SDIOx)
 Get SDIOx clock source @rmtoll DCKCFGR SDIOSEL LL_RCC_GetSDIOClockSource
DCKCFGR2 SDIOSEL LL_RCC_GetSDIOClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetCK48MClockSource (uint32_t CK48Mx)
 Get 48Mhz domain clock source @rmtoll DCKCFGR CK48MSEL LL_RCC_GetCK48MClockSource
DCKCFGR2 CK48MSEL LL_RCC_GetCK48MClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetRNGClockSource (uint32_t RNGx)
 Get RNGx clock source @rmtoll DCKCFGR CK48MSEL LL_RCC_GetRNGClockSource
DCKCFGR2 CK48MSEL LL_RCC_GetRNGClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetUSBClockSource (uint32_t USBx)
 Get USBx clock source @rmtoll DCKCFGR CK48MSEL LL_RCC_GetUSBClockSource
DCKCFGR2 CK48MSEL LL_RCC_GetUSBClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetCECClockSource (uint32_t CECx)
 Get CEC Clock Source @rmtoll DCKCFGR2 CECSEL LL_RCC_GetCECClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetI2SClockSource (uint32_t I2Sx)
 Get I2S Clock Source @rmtoll CFGR I2SSRC LL_RCC_GetI2SClockSource
DCKCFGR I2SSRC LL_RCC_GetI2SClockSource
DCKCFGR I2S1SRC LL_RCC_GetI2SClockSource
DCKCFGR I2S2SRC LL_RCC_GetI2SClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetDFSDMAudioClockSource (uint32_t DFSDMx)
 Get DFSDM Audio Clock Source @rmtoll DCKCFGR CKDFSDM1ASEL LL_RCC_GetDFSDMAudioClockSource
DCKCFGR CKDFSDM2ASEL LL_RCC_GetDFSDMAudioClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetDFSDMClockSource (uint32_t DFSDMx)
 Get DFSDM Audio Clock Source @rmtoll DCKCFGR CKDFSDM1SEL LL_RCC_GetDFSDMClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetSPDIFRXClockSource (uint32_t SPDIFRXx)
 Get SPDIFRX clock source @rmtoll DCKCFGR2 SPDIFRXSEL LL_RCC_GetSPDIFRXClockSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetDSIClockSource (uint32_t DSIx)
 Get DSI Clock Source @rmtoll DCKCFGR DSISEL LL_RCC_GetDSIClockSource. More...
 
__STATIC_INLINE void LL_RCC_SetRTCClockSource (uint32_t Source)
 Set RTC Clock Source. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetRTCClockSource (void)
 Get RTC Clock Source @rmtoll BDCR RTCSEL LL_RCC_GetRTCClockSource. More...
 
__STATIC_INLINE void LL_RCC_EnableRTC (void)
 Enable RTC @rmtoll BDCR RTCEN LL_RCC_EnableRTC. More...
 
__STATIC_INLINE void LL_RCC_DisableRTC (void)
 Disable RTC @rmtoll BDCR RTCEN LL_RCC_DisableRTC. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledRTC (void)
 Check if RTC has been enabled or not @rmtoll BDCR RTCEN LL_RCC_IsEnabledRTC. More...
 
__STATIC_INLINE void LL_RCC_ForceBackupDomainReset (void)
 Force the Backup domain reset @rmtoll BDCR BDRST LL_RCC_ForceBackupDomainReset. More...
 
__STATIC_INLINE void LL_RCC_ReleaseBackupDomainReset (void)
 Release the Backup domain reset @rmtoll BDCR BDRST LL_RCC_ReleaseBackupDomainReset. More...
 
__STATIC_INLINE void LL_RCC_SetRTC_HSEPrescaler (uint32_t Prescaler)
 Set HSE Prescalers for RTC Clock @rmtoll CFGR RTCPRE LL_RCC_SetRTC_HSEPrescaler. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetRTC_HSEPrescaler (void)
 Get HSE Prescalers for RTC Clock @rmtoll CFGR RTCPRE LL_RCC_GetRTC_HSEPrescaler. More...
 
__STATIC_INLINE void LL_RCC_SetTIMPrescaler (uint32_t Prescaler)
 Set Timers Clock Prescalers @rmtoll DCKCFGR TIMPRE LL_RCC_SetTIMPrescaler. More...
 
__STATIC_INLINE uint32_t LL_RCC_GetTIMPrescaler (void)
 Get Timers Clock Prescalers @rmtoll DCKCFGR TIMPRE LL_RCC_GetTIMPrescaler. More...
 
__STATIC_INLINE void LL_RCC_PLL_Enable (void)
 Enable PLL @rmtoll CR PLLON LL_RCC_PLL_Enable. More...
 
__STATIC_INLINE void LL_RCC_PLL_Disable (void)
 Disable PLL. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_IsReady (void)
 Check if PLL Ready @rmtoll CR PLLRDY LL_RCC_PLL_IsReady. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP_R)
 Configure PLL used for SYSCLK Domain. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_48M (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLQ)
 Configure PLL used for 48Mhz domain clock. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_DSI (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR)
 Configure PLL used for DSI clock. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_I2S (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR)
 Configure PLL used for I2S clock. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SPDIFRX (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR)
 Configure PLL used for SPDIFRX clock. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SAI (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR, uint32_t PLLDIVR) __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SAI(uint32_t Source
 Configure PLL used for SAI clock. More...
 
 MODIFY_REG (RCC->DCKCFGR, RCC_DCKCFGR_PLLDIVR, PLLDIVR)
 
__STATIC_INLINE void LL_RCC_PLL_SetMainSource (uint32_t PLLSource)
 Configure PLL clock source @rmtoll PLLCFGR PLLSRC LL_RCC_PLL_SetMainSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetMainSource (void)
 Get the oscillator used as PLL clock source. @rmtoll PLLCFGR PLLSRC LL_RCC_PLL_GetMainSource. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetN (void)
 Get Main PLL multiplication factor for VCO @rmtoll PLLCFGR PLLN LL_RCC_PLL_GetN. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetP (void)
 Get Main PLL division factor for PLLP @rmtoll PLLCFGR PLLP LL_RCC_PLL_GetP. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetQ (void)
 Get Main PLL division factor for PLLQ. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetR (void)
 Get Main PLL division factor for PLLR. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetDIVR (void)
 Get Main PLL division factor for PLLDIVR. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetDivider (void)
 Get Division factor for the main PLL and other PLL @rmtoll PLLCFGR PLLM LL_RCC_PLL_GetDivider. More...
 
__STATIC_INLINE void LL_RCC_PLL_ConfigSpreadSpectrum (uint32_t Mod, uint32_t Inc, uint32_t Sel)
 Configure Spread Spectrum used for PLL. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetPeriodModulation (void)
 Get Spread Spectrum Modulation Period for PLL @rmtoll SSCGR MODPER LL_RCC_PLL_GetPeriodModulation. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetStepIncrementation (void)
 Get Spread Spectrum Incrementation Step for PLL. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLL_GetSpreadSelection (void)
 Get Spread Spectrum Selection for PLL. More...
 
__STATIC_INLINE void LL_RCC_PLL_SpreadSpectrum_Enable (void)
 Enable Spread Spectrum for PLL. @rmtoll SSCGR SSCGEN LL_RCC_PLL_SpreadSpectrum_Enable. More...
 
__STATIC_INLINE void LL_RCC_PLL_SpreadSpectrum_Disable (void)
 Disable Spread Spectrum for PLL. @rmtoll SSCGR SSCGEN LL_RCC_PLL_SpreadSpectrum_Disable. More...
 
__STATIC_INLINE void LL_RCC_PLLI2S_Enable (void)
 Enable PLLI2S @rmtoll CR PLLI2SON LL_RCC_PLLI2S_Enable. More...
 
__STATIC_INLINE void LL_RCC_PLLI2S_Disable (void)
 Disable PLLI2S @rmtoll CR PLLI2SON LL_RCC_PLLI2S_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_IsReady (void)
 Check if PLLI2S Ready @rmtoll CR PLLI2SRDY LL_RCC_PLLI2S_IsReady. More...
 
__STATIC_INLINE void LL_RCC_PLLI2S_ConfigDomain_SAI (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLQ_R, uint32_t PLLDIVQ_R)
 Configure PLLI2S used for SAI domain clock. More...
 
__STATIC_INLINE void LL_RCC_PLLI2S_ConfigDomain_48M (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLQ)
 Configure PLLI2S used for 48Mhz domain clock. More...
 
__STATIC_INLINE void LL_RCC_PLLI2S_ConfigDomain_SPDIFRX (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP)
 Configure PLLI2S used for SPDIFRX domain clock. More...
 
__STATIC_INLINE void LL_RCC_PLLI2S_ConfigDomain_I2S (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR)
 Configure PLLI2S used for I2S1 domain clock. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetN (void)
 Get I2SPLL multiplication factor for VCO @rmtoll PLLI2SCFGR PLLI2SN LL_RCC_PLLI2S_GetN. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetQ (void)
 Get I2SPLL division factor for PLLI2SQ @rmtoll PLLI2SCFGR PLLI2SQ LL_RCC_PLLI2S_GetQ. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetR (void)
 Get I2SPLL division factor for PLLI2SR. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetP (void)
 Get I2SPLL division factor for PLLI2SP. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetDIVQ (void)
 Get I2SPLL division factor for PLLI2SDIVQ. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetDIVR (void)
 Get I2SPLL division factor for PLLI2SDIVR. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetDivider (void)
 Get division factor for PLLI2S input clock @rmtoll PLLCFGR PLLM LL_RCC_PLLI2S_GetDivider
PLLI2SCFGR PLLI2SM LL_RCC_PLLI2S_GetDivider. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetMainSource (void)
 Get the oscillator used as PLL clock source. @rmtoll PLLCFGR PLLSRC LL_RCC_PLLI2S_GetMainSource
PLLI2SCFGR PLLI2SSRC LL_RCC_PLLI2S_GetMainSource. More...
 
__STATIC_INLINE void LL_RCC_PLLSAI_Enable (void)
 Enable PLLSAI @rmtoll CR PLLSAION LL_RCC_PLLSAI_Enable. More...
 
__STATIC_INLINE void LL_RCC_PLLSAI_Disable (void)
 Disable PLLSAI @rmtoll CR PLLSAION LL_RCC_PLLSAI_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_IsReady (void)
 Check if PLLSAI Ready @rmtoll CR PLLSAIRDY LL_RCC_PLLSAI_IsReady. More...
 
__STATIC_INLINE void LL_RCC_PLLSAI_ConfigDomain_SAI (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLQ, uint32_t PLLDIVQ)
 Configure PLLSAI used for SAI domain clock. More...
 
__STATIC_INLINE void LL_RCC_PLLSAI_ConfigDomain_48M (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP)
 Configure PLLSAI used for 48Mhz domain clock. More...
 
__STATIC_INLINE void LL_RCC_PLLSAI_ConfigDomain_LTDC (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR, uint32_t PLLDIVR)
 Configure PLLSAI used for LTDC domain clock. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetDivider (void)
 Get division factor for PLLSAI input clock @rmtoll PLLCFGR PLLM LL_RCC_PLLSAI_GetDivider
PLLSAICFGR PLLSAIM LL_RCC_PLLSAI_GetDivider. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetN (void)
 Get SAIPLL multiplication factor for VCO @rmtoll PLLSAICFGR PLLSAIN LL_RCC_PLLSAI_GetN. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetQ (void)
 Get SAIPLL division factor for PLLSAIQ @rmtoll PLLSAICFGR PLLSAIQ LL_RCC_PLLSAI_GetQ. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetR (void)
 Get SAIPLL division factor for PLLSAIR. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetP (void)
 Get SAIPLL division factor for PLLSAIP. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetDIVQ (void)
 Get SAIPLL division factor for PLLSAIDIVQ. More...
 
__STATIC_INLINE uint32_t LL_RCC_PLLSAI_GetDIVR (void)
 Get SAIPLL division factor for PLLSAIDIVR. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_LSIRDY (void)
 Clear LSI ready interrupt flag @rmtoll CIR LSIRDYC LL_RCC_ClearFlag_LSIRDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_LSERDY (void)
 Clear LSE ready interrupt flag @rmtoll CIR LSERDYC LL_RCC_ClearFlag_LSERDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_HSIRDY (void)
 Clear HSI ready interrupt flag @rmtoll CIR HSIRDYC LL_RCC_ClearFlag_HSIRDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_HSERDY (void)
 Clear HSE ready interrupt flag @rmtoll CIR HSERDYC LL_RCC_ClearFlag_HSERDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_PLLRDY (void)
 Clear PLL ready interrupt flag @rmtoll CIR PLLRDYC LL_RCC_ClearFlag_PLLRDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_PLLI2SRDY (void)
 Clear PLLI2S ready interrupt flag @rmtoll CIR PLLI2SRDYC LL_RCC_ClearFlag_PLLI2SRDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_PLLSAIRDY (void)
 Clear PLLSAI ready interrupt flag @rmtoll CIR PLLSAIRDYC LL_RCC_ClearFlag_PLLSAIRDY. More...
 
__STATIC_INLINE void LL_RCC_ClearFlag_HSECSS (void)
 Clear Clock security system interrupt flag @rmtoll CIR CSSC LL_RCC_ClearFlag_HSECSS. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_LSIRDY (void)
 Check if LSI ready interrupt occurred or not @rmtoll CIR LSIRDYF LL_RCC_IsActiveFlag_LSIRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_LSERDY (void)
 Check if LSE ready interrupt occurred or not @rmtoll CIR LSERDYF LL_RCC_IsActiveFlag_LSERDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_HSIRDY (void)
 Check if HSI ready interrupt occurred or not @rmtoll CIR HSIRDYF LL_RCC_IsActiveFlag_HSIRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_HSERDY (void)
 Check if HSE ready interrupt occurred or not @rmtoll CIR HSERDYF LL_RCC_IsActiveFlag_HSERDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PLLRDY (void)
 Check if PLL ready interrupt occurred or not @rmtoll CIR PLLRDYF LL_RCC_IsActiveFlag_PLLRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PLLI2SRDY (void)
 Check if PLLI2S ready interrupt occurred or not @rmtoll CIR PLLI2SRDYF LL_RCC_IsActiveFlag_PLLI2SRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PLLSAIRDY (void)
 Check if PLLSAI ready interrupt occurred or not @rmtoll CIR PLLSAIRDYF LL_RCC_IsActiveFlag_PLLSAIRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_HSECSS (void)
 Check if Clock security system interrupt occurred or not @rmtoll CIR CSSF LL_RCC_IsActiveFlag_HSECSS. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_IWDGRST (void)
 Check if RCC flag Independent Watchdog reset is set or not. @rmtoll CSR IWDGRSTF LL_RCC_IsActiveFlag_IWDGRST. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_LPWRRST (void)
 Check if RCC flag Low Power reset is set or not. @rmtoll CSR LPWRRSTF LL_RCC_IsActiveFlag_LPWRRST. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PINRST (void)
 Check if RCC flag Pin reset is set or not. @rmtoll CSR PINRSTF LL_RCC_IsActiveFlag_PINRST. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PORRST (void)
 Check if RCC flag POR/PDR reset is set or not. @rmtoll CSR PORRSTF LL_RCC_IsActiveFlag_PORRST. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_SFTRST (void)
 Check if RCC flag Software reset is set or not. @rmtoll CSR SFTRSTF LL_RCC_IsActiveFlag_SFTRST. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_WWDGRST (void)
 Check if RCC flag Window Watchdog reset is set or not. @rmtoll CSR WWDGRSTF LL_RCC_IsActiveFlag_WWDGRST. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_BORRST (void)
 Check if RCC flag BOR reset is set or not. @rmtoll CSR BORRSTF LL_RCC_IsActiveFlag_BORRST. More...
 
__STATIC_INLINE void LL_RCC_ClearResetFlags (void)
 Set RMVF bit to clear the reset flags. @rmtoll CSR RMVF LL_RCC_ClearResetFlags. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_LSIRDY (void)
 Enable LSI ready interrupt @rmtoll CIR LSIRDYIE LL_RCC_EnableIT_LSIRDY. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_LSERDY (void)
 Enable LSE ready interrupt @rmtoll CIR LSERDYIE LL_RCC_EnableIT_LSERDY. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_HSIRDY (void)
 Enable HSI ready interrupt @rmtoll CIR HSIRDYIE LL_RCC_EnableIT_HSIRDY. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_HSERDY (void)
 Enable HSE ready interrupt @rmtoll CIR HSERDYIE LL_RCC_EnableIT_HSERDY. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_PLLRDY (void)
 Enable PLL ready interrupt @rmtoll CIR PLLRDYIE LL_RCC_EnableIT_PLLRDY. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_PLLI2SRDY (void)
 Enable PLLI2S ready interrupt @rmtoll CIR PLLI2SRDYIE LL_RCC_EnableIT_PLLI2SRDY. More...
 
__STATIC_INLINE void LL_RCC_EnableIT_PLLSAIRDY (void)
 Enable PLLSAI ready interrupt @rmtoll CIR PLLSAIRDYIE LL_RCC_EnableIT_PLLSAIRDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_LSIRDY (void)
 Disable LSI ready interrupt @rmtoll CIR LSIRDYIE LL_RCC_DisableIT_LSIRDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_LSERDY (void)
 Disable LSE ready interrupt @rmtoll CIR LSERDYIE LL_RCC_DisableIT_LSERDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_HSIRDY (void)
 Disable HSI ready interrupt @rmtoll CIR HSIRDYIE LL_RCC_DisableIT_HSIRDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_HSERDY (void)
 Disable HSE ready interrupt @rmtoll CIR HSERDYIE LL_RCC_DisableIT_HSERDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_PLLRDY (void)
 Disable PLL ready interrupt @rmtoll CIR PLLRDYIE LL_RCC_DisableIT_PLLRDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_PLLI2SRDY (void)
 Disable PLLI2S ready interrupt @rmtoll CIR PLLI2SRDYIE LL_RCC_DisableIT_PLLI2SRDY. More...
 
__STATIC_INLINE void LL_RCC_DisableIT_PLLSAIRDY (void)
 Disable PLLSAI ready interrupt @rmtoll CIR PLLSAIRDYIE LL_RCC_DisableIT_PLLSAIRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_LSIRDY (void)
 Checks if LSI ready interrupt source is enabled or disabled. @rmtoll CIR LSIRDYIE LL_RCC_IsEnabledIT_LSIRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_LSERDY (void)
 Checks if LSE ready interrupt source is enabled or disabled. @rmtoll CIR LSERDYIE LL_RCC_IsEnabledIT_LSERDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_HSIRDY (void)
 Checks if HSI ready interrupt source is enabled or disabled. @rmtoll CIR HSIRDYIE LL_RCC_IsEnabledIT_HSIRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_HSERDY (void)
 Checks if HSE ready interrupt source is enabled or disabled. @rmtoll CIR HSERDYIE LL_RCC_IsEnabledIT_HSERDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_PLLRDY (void)
 Checks if PLL ready interrupt source is enabled or disabled. @rmtoll CIR PLLRDYIE LL_RCC_IsEnabledIT_PLLRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_PLLI2SRDY (void)
 Checks if PLLI2S ready interrupt source is enabled or disabled. @rmtoll CIR PLLI2SRDYIE LL_RCC_IsEnabledIT_PLLI2SRDY. More...
 
__STATIC_INLINE uint32_t LL_RCC_IsEnabledIT_PLLSAIRDY (void)
 Checks if PLLSAI ready interrupt source is enabled or disabled. @rmtoll CIR PLLSAIRDYIE LL_RCC_IsEnabledIT_PLLSAIRDY. More...
 
ErrorStatus LL_RCC_DeInit (void)
 Reset the RCC clock configuration to the default reset state. More...
 
void LL_RCC_GetSystemClocksFreq (LL_RCC_ClocksTypeDef *RCC_Clocks)
 Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses clocks. More...
 
uint32_t LL_RCC_GetFMPI2CClockFreq (uint32_t FMPI2CxSource)
 Return FMPI2Cx clock frequency. More...
 
uint32_t LL_RCC_GetLPTIMClockFreq (uint32_t LPTIMxSource)
 Return LPTIMx clock frequency. More...
 
uint32_t LL_RCC_GetSAIClockFreq (uint32_t SAIxSource)
 Return SAIx clock frequency. More...
 
uint32_t LL_RCC_GetSDIOClockFreq (uint32_t SDIOxSource)
 Return SDIOx clock frequency. More...
 
uint32_t LL_RCC_GetRNGClockFreq (uint32_t RNGxSource)
 Return RNGx clock frequency. More...
 
uint32_t LL_RCC_GetUSBClockFreq (uint32_t USBxSource)
 Return USBx clock frequency. More...
 
uint32_t LL_RCC_GetDFSDMClockFreq (uint32_t DFSDMxSource)
 Return DFSDMx clock frequency. More...
 
uint32_t LL_RCC_GetDFSDMAudioClockFreq (uint32_t DFSDMxSource)
 Return DFSDMx Audio clock frequency. More...
 
uint32_t LL_RCC_GetI2SClockFreq (uint32_t I2SxSource)
 Return I2Sx clock frequency. More...
 
uint32_t LL_RCC_GetCECClockFreq (uint32_t CECxSource)
 Return CEC clock frequency. More...
 
uint32_t LL_RCC_GetLTDCClockFreq (uint32_t LTDCxSource)
 Return LTDC clock frequency. More...
 
uint32_t LL_RCC_GetSPDIFRXClockFreq (uint32_t SPDIFRXxSource)
 Return SPDIFRX clock frequency. More...
 
uint32_t LL_RCC_GetDSIClockFreq (uint32_t DSIxSource)
 Return DSI clock frequency. More...
 

Variables

__STATIC_INLINE void uint32_t PLLM
 
__STATIC_INLINE void uint32_t uint32_t PLLN
 
__STATIC_INLINE void uint32_t uint32_t uint32_t PLLR
 

Detailed Description

Header file of RCC LL module.

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 stm32f4xx_ll_rcc.h.