/* Enable IO compensation mechanism By default the I/O compensation cell is not used. However when the I/O output buffer speed is configured in 50 MHz mode and above, it is recommended to use the compensation cell for a slew rate control on I/O tf(IO)out/tr(IO)out commutation to reduce the I/O noise on the power supply.  */
HAL_StatusTypeDef HAL_SYSCFG_EnableIOCompensation(void)
/* Enable IO compensation mechanism By default the I/O compensation cell is not used. However when the I/O output buffer speed is configured in 50 MHz mode and above, it is recommended to use the compensation cell for a slew rate control on I/O tf(IO)out/tr(IO)out commutation to reduce the I/O noise on the power supply.  */
HAL_StatusTypeDef HAL_SYSCFG_EnableIOCompensation(void)
{
  HAL_StatusTypeDef status = HAL_OK;
  __IO uint32_t count = SYSCFG_DEFAULT_TIMEOUT * (SystemCoreClock / 20U / 1000U);
  HAL_EnableCompensationCell();
  do
  {
    if (count-- == 0U)
    {
      return  HAL_TIMEOUT;
    }
  }
  while (__HAL_SYSCFG_CMP_CELL_GET_FLAG() == 0U);
  HAL_SYSCFG_CompensationCodeSelect(SYSCFG_CELL_CODE);
  return status;
}