/* Checks whether the specified RNG flag is set or not.  */
FlagStatus RNG_GetFlagStatus(uint8_t RNG_FLAG)
/* Checks whether the specified RNG flag is set or not.  */
FlagStatus RNG_GetFlagStatus(uint8_t RNG_FLAG)
{
  FlagStatus bitstatus = RESET;
  assert_param(IS_RNG_GET_FLAG(RNG_FLAG));
  if ((RNG->SR & RNG_FLAG) != (uint8_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return  bitstatus;
}