fix interfaccia
This commit is contained in:
@@ -6,14 +6,12 @@
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* 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
|
||||
* Copyright (c) 2019 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.
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
@@ -2396,6 +2394,16 @@ __STATIC_INLINE void LL_RCC_PLL_DisableDomain_ADC(void)
|
||||
CLEAR_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check if PLL output mapped on ADC domain clock is enabled
|
||||
* @rmtoll PLLCFGR PLLPEN LL_RCC_PLL_IsEnabledDomain_ADC
|
||||
* @retval State of bit (1 or 0).
|
||||
*/
|
||||
__STATIC_INLINE uint32_t LL_RCC_PLL_IsEnabledDomain_ADC(void)
|
||||
{
|
||||
return ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLPEN) == (RCC_PLLCFGR_PLLPEN)) ? 1UL : 0UL);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Enable PLL output mapped on 48MHz domain clock
|
||||
* @rmtoll PLLCFGR PLLQEN LL_RCC_PLL_EnableDomain_48M
|
||||
@@ -2420,6 +2428,16 @@ __STATIC_INLINE void LL_RCC_PLL_DisableDomain_48M(void)
|
||||
CLEAR_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check if PLL output mapped on 48MHz domain clock is enabled
|
||||
* @rmtoll PLLCFGR PLLQEN LL_RCC_PLL_IsEnabledDomain_48M
|
||||
* @retval State of bit (1 or 0).
|
||||
*/
|
||||
__STATIC_INLINE uint32_t LL_RCC_PLL_IsEnabledDomain_48M(void)
|
||||
{
|
||||
return ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQEN) == (RCC_PLLCFGR_PLLQEN)) ? 1UL : 0UL);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Enable PLL output mapped on SYSCLK domain
|
||||
* @rmtoll PLLCFGR PLLREN LL_RCC_PLL_EnableDomain_SYS
|
||||
@@ -2444,6 +2462,16 @@ __STATIC_INLINE void LL_RCC_PLL_DisableDomain_SYS(void)
|
||||
CLEAR_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLREN);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check if PLL output mapped on SYSCLK domain clock is enabled
|
||||
* @rmtoll PLLCFGR PLLREN LL_RCC_PLL_IsEnabledDomain_SYS
|
||||
* @retval State of bit (1 or 0).
|
||||
*/
|
||||
__STATIC_INLINE uint32_t LL_RCC_PLL_IsEnabledDomain_SYS(void)
|
||||
{
|
||||
return ((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLREN) == (RCC_PLLCFGR_PLLREN)) ? 1UL : 0UL);
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
@@ -2968,4 +2996,3 @@ uint32_t LL_RCC_GetQUADSPIClockFreq(uint32_t QUADSPIxSource);
|
||||
|
||||
#endif /* STM32G4xx_LL_RCC_H */
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
||||
|
||||
Reference in New Issue
Block a user