/* This function provides accurate delay (in milliseconds) based on SysTick counter flag.  */
void LL_mDelay(uint32_t Delay)
/* This function provides accurate delay (in milliseconds) based on SysTick counter flag.  */
void LL_mDelay(uint32_t Delay)
{
  uint32_t count = Delay;
  __IO uint32_t  tmp = SysTick->CTRL;
  ((void)tmp);
  if(count < LL_MAX_DELAY)
  {
    count++;
  }
  while (count != 0U)
  {
    if((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) != 0U)
    {
      count--;
    }
  }
}