FreeRTOS/Demo/CORTEX_MPU_M7_NUCLEO_H743ZI2_GCC_IAR_Keil/ST_Code/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_utils.c
/**
  * @brief  Check that all PLLs are ready therefore configuration can be done
  * @retval An ErrorStatus enumeration value:
  *          - SUCCESS: All PLLs are ready so configuration can be done
  *          - ERROR: One PLL at least is busy
  */
@brief  Check that all PLLs are ready therefore configuration can be done
@retval An ErrorStatus enumeration value:
- SUCCESS: All PLLs are ready so configuration can be done
- ERROR: One PLL at least is busy
@brief Check that all PLLs are ready therefore configuration can be done @retval An ErrorStatus enumeration value : - SUCCESS : All PLLs are ready so configuration can be done - ERROR : One PLL at least is busy
static ErrorStatus UTILS_IsPLLsReady(void)
{
  ErrorStatus status = SUCCESS;
  if(LL_RCC_PLL1_IsReady() != 0U)
  {
    status = ERROR;
  }
  if(LL_RCC_PLL2_IsReady() != 0U)
  {
    status = ERROR;
  }
  if(LL_RCC_PLL3_IsReady() != 0U)
  {
    status = ERROR;
  }
  return status;
}
static ErrorStatus UTILS_IsPLLsReady ( void ) { ErrorStatus status = SUCCESS ; if ( LL_RCC_PLL1_IsReady ( ) != 0U ) { status = ERROR ; } if ( LL_RCC_PLL2_IsReady ( ) != 0U ) { status = ERROR ; } if ( LL_RCC_PLL3_IsReady ( ) != 0U ) { status = ERROR ; } return status ; }
@brief  Check that all PLLs are ready therefore configuration can be done
 @retval An ErrorStatus enumeration value:
          - SUCCESS: All PLLs are ready so configuration can be done
          - ERROR: One PLL at least is busy
@brief Check that all PLLs are ready therefore configuration can be done @retval An ErrorStatus enumeration value : - SUCCESS : All PLLs are ready so configuration can be done - ERROR : One PLL at least is busy
/* Check if one of the PLL1 is busy */ /* PLL1 configuration cannot be done */ /* Check if one of the PLL2 is busy */ /* PLL2 configuration cannot be done */ /* Check if one of the PLL3 is busy */ /* PLL3 configuration cannot be done */