/* Checks whether the specified RST flag is set or not.  */
FlagStatus RST_GetFlagStatus(RST_FLAG_TypeDef RST_Flag)
/* Checks whether the specified RST flag is set or not.  */
FlagStatus RST_GetFlagStatus(RST_FLAG_TypeDef RST_Flag)
{
  assert_param(IS_RST_FLAG(RST_Flag));
  return ((FlagStatus)((uint8_t)RST->SR & (uint8_t)RST_Flag));
}