/* Checks whether the specified EXTI line flag is set or not.  */
FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line)
/* Checks whether the specified EXTI line flag is set or not.  */
FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line)
{
  FlagStatus bitstatus = RESET;
  assert_param(IS_GET_EXTI_LINE(EXTI_Line));
  if ((*(__IO uint32_t *) (((uint32_t) &(EXTI->PR)) + ((EXTI_Line) >> 5 ) * 0x20)& (uint32_t)(1 << (EXTI_Line & 0x1F))) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}